From 522c80d122fe751774690192ad4977c6ad2a739d Mon Sep 17 00:00:00 2001 From: thePR0M3TH3AN <53631862+PR0M3TH3AN@users.noreply.github.com> Date: Tue, 20 May 2025 20:18:21 -0400 Subject: [PATCH] Fix snapshot file parsing in tests --- run_all_tests.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/run_all_tests.sh b/run_all_tests.sh index 7b1e32f..689bf64 100755 --- a/run_all_tests.sh +++ b/run_all_tests.sh @@ -269,7 +269,7 @@ test_marlin_demo_flow() { log_info "Running backup and restore..." snap_output=$(run_cmd "${marlin_cmd}" backup) - snap_file=$(echo "${snap_output}" | awk '{print $NF}') + snap_file=$(echo "${snap_output}" | tail -n 1 | awk '{print $NF}') log_info "Backup created: ${snap_file}" if [ -z "${MARLIN_DB_PATH}" ]; then