mirror of
https://github.com/PR0M3TH3AN/Marlin.git
synced 2026-11-06 13:51:00 +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:
1 file changed
+1
-1
+1
-1
@@ -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