diff options
| author | Jan Sucan <jan@jansucan.com> | 2025-01-18 07:57:57 +0100 |
|---|---|---|
| committer | Ján Sučan <jan@jansucan.com> | 2025-01-18 12:44:04 +0100 |
| commit | 8b51499900e125a55dcdc425d29550b98a8064b4 (patch) | |
| tree | 938545b3b612bcacd3599785be3f4a23ec08bea7 /tests/400-successful_backup_restore.sh | |
| parent | a7e8d00f5140d250e339736eb49e20609bffa47f (diff) | |
Initial implementation of diff file format v2
Diffstat (limited to 'tests/400-successful_backup_restore.sh')
| -rw-r--r-- | tests/400-successful_backup_restore.sh | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/400-successful_backup_restore.sh b/tests/400-successful_backup_restore.sh index fb44dda..f1a07c5 100644 --- a/tests/400-successful_backup_restore.sh +++ b/tests/400-successful_backup_restore.sh @@ -29,7 +29,7 @@ printf '\xFF' | dd of=input bs=1 count=1 seek=$(( (512 * 3) - 1 )) conv=notrunc # The fourth sector will have the middle byte changed printf '\xFF' | dd of=input bs=1 count=1 seek=$(( (512 * 4) - (512 / 2) )) conv=notrunc 1>/dev/null 2>&1 -assert "" "" 0 $PROGRAM_EXEC backup -S 512 -i input -b base -o out +assert "" "" 0 $PROGRAM_EXEC backup -i input -b base -o out if ! files_are_the_same out 400-expected_backup_output.bin; then echo "assert: Backup output file differs from the expected one" @@ -44,7 +44,7 @@ if ! files_are_the_same base input; then exit 1 fi -assert "" "" 0 $PROGRAM_EXEC restore -S 512 -d out -o input +assert "" "" 0 $PROGRAM_EXEC restore -d out -o input if ! files_are_the_same input backedup_input; then echo "assert: Cannot restore the backup" |
