diff options
| author | Jan Sucan <jan@jansucan.com> | 2025-01-22 17:04:24 +0100 |
|---|---|---|
| committer | Ján Sučan <jan@jansucan.com> | 2025-01-22 17:12:56 +0100 |
| commit | 722a52b94e4d8ae73bc4ee92472dba8e7174a1ab (patch) | |
| tree | a13f6dabaf9f225dfb4c8352b7bcbcb39c97b38f /tests/100-cannot_open_files.sh | |
| parent | cf8eac7777e81590b24e8d285560188e31035c16 (diff) | |
Rename backup operation to create
Diffstat (limited to 'tests/100-cannot_open_files.sh')
| -rw-r--r-- | tests/100-cannot_open_files.sh | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/100-cannot_open_files.sh b/tests/100-cannot_open_files.sh index e0a59d3..3ef74a6 100644 --- a/tests/100-cannot_open_files.sh +++ b/tests/100-cannot_open_files.sh @@ -6,18 +6,18 @@ PROGRAM_EXEC="$1" rm -f input base out touch base out -assert "" "cannot open input file" 1 $PROGRAM_EXEC backup -i input -b base -o out +assert "" "cannot open input file" 1 $PROGRAM_EXEC create -i input -b base -o out rm -f input base out touch input out -assert "" "cannot open base file" 1 $PROGRAM_EXEC backup -i input -b base -o out +assert "" "cannot open base file" 1 $PROGRAM_EXEC create -i input -b base -o out rm -f input base out rmdir outdir 2>/dev/null touch input base mkdir outdir chmod -w outdir -assert "" "cannot open output file" 1 $PROGRAM_EXEC backup -i input -b base -o outdir/out +assert "" "cannot open output file" 1 $PROGRAM_EXEC create -i input -b base -o outdir/out rm -f input base out rmdir outdir |
