mirror of
git://git.sv.gnu.org/coreutils
synced 2026-06-05 15:22:12 -04:00
Clean up this test.
This commit is contained in:
+13
-4
@@ -1,11 +1,22 @@
|
||||
#! /bin/sh
|
||||
|
||||
if test "$VERBOSE" = yes; then
|
||||
set -x
|
||||
FIXME --version
|
||||
fi
|
||||
|
||||
pwd=`pwd`
|
||||
tmp=mv-spec.$$
|
||||
trap 'status=$?; cd $pwd; exec 1>&2; rm -rf $tmp $other_partition_tmpdir && exit $status' 0
|
||||
trap '(exit $?); exit' 1 2 13 15
|
||||
|
||||
. $srcdir/setup
|
||||
. $srcdir/../envvar-check
|
||||
# Make sure we get English translations.
|
||||
. $srcdir/../lang-default
|
||||
|
||||
if test -z "$other_partition_tmpdir"; then
|
||||
exit 77
|
||||
(exit 77); exit
|
||||
fi
|
||||
|
||||
null=.mv-null
|
||||
@@ -75,6 +86,4 @@ cmp out2 exp || fail=1
|
||||
# cd $other_partition_tmpdir
|
||||
# ls -l -A -R $other_partition_tmpdir
|
||||
|
||||
rm -rf $null $dir $other_partition_tmpdir out out2 exp
|
||||
|
||||
exit $fail
|
||||
(exit $fail); exit
|
||||
|
||||
Reference in New Issue
Block a user