mirror of
https://git.savannah.gnu.org/git/coreutils.git
synced 2026-11-19 03:33:43 +03: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:
1 parent
20005ca733
commit
95bc69a7e7
1 file changed
+2
-2
+2
-2
@@ -25,8 +25,8 @@ mkdir dir || framework_failure_
|
||||
> dir/a || framework_failure_
|
||||
> file || framework_failure_
|
||||
|
||||
mv --no-copy dir "$other_partition_tmpdir" && fail=1
|
||||
mv --no-copy file "$other_partition_tmpdir" && fail=1
|
||||
returns_ 1 mv --no-copy dir "$other_partition_tmpdir" || fail=1
|
||||
returns_ 1 mv --no-copy file "$other_partition_tmpdir" || fail=1
|
||||
mv dir "$other_partition_tmpdir" || fail=1
|
||||
mv file "$other_partition_tmpdir" || fail=1
|
||||
|
||||
|
||||
Reference in new issue
Block a user