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