mirror of
git://git.sv.gnu.org/coreutils.git
synced 2026-04-21 03:12:48 +02:00
tests: ensure we fail if mv --no-copy crashes
* tests/mv/no-copy.sh: Honor `make syntax` check and use the `returns_ 1 ...` pattern.
This commit is contained in:
@@ -25,8 +25,8 @@ mkdir dir || framework_failure_
|
|||||||
> dir/a || framework_failure_
|
> dir/a || framework_failure_
|
||||||
> file || framework_failure_
|
> file || framework_failure_
|
||||||
|
|
||||||
mv --no-copy dir "$other_partition_tmpdir" && fail=1
|
returns_ 1 mv --no-copy dir "$other_partition_tmpdir" || fail=1
|
||||||
mv --no-copy file "$other_partition_tmpdir" && fail=1
|
returns_ 1 mv --no-copy file "$other_partition_tmpdir" || fail=1
|
||||||
mv dir "$other_partition_tmpdir" || fail=1
|
mv dir "$other_partition_tmpdir" || fail=1
|
||||||
mv file "$other_partition_tmpdir" || fail=1
|
mv file "$other_partition_tmpdir" || fail=1
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user