mirror of
https://github.com/coreutils/coreutils.git
synced 2025-01-18 05:53:24 +08:00
add basic test
This commit is contained in:
parent
3b023926b1
commit
976d5c8a3f
@ -37,6 +37,9 @@ fi
|
||||
# before copying.
|
||||
mv $file $rem_symlink || fail=1
|
||||
|
||||
# Make sure $file is gone.
|
||||
test -f $file && fail=1
|
||||
|
||||
# Make sure $rem_file is unmodified.
|
||||
test `cat $rem_file` = remote || fail=1
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user