Merge pull request #21 from PR0M3TH3AN/codex/update-backup-script-to-parse-last-snap-output-line

Fix backup path parsing in test suite
This commit is contained in:
thePR0M3TH3AN
2025-05-20 20:18:32 -04:00
committed by GitHub

View File

@@ -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