mirror of
https://github.com/PR0M3TH3AN/Marlin.git
synced 2025-09-08 07:08:44 +00:00
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:
@@ -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
|
||||
|
Reference in New Issue
Block a user