projects
/
platform
/
upstream
/
coreutils.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
tests: factor 350 fail=0 initializations into test-lib.sh
[platform/upstream/coreutils.git]
/
tests
/
mv
/
into-self-2
diff --git
a/tests/mv/into-self-2
b/tests/mv/into-self-2
index
3e92c64
..
3c3e7e2
100755
(executable)
--- a/
tests/mv/into-self-2
+++ b/
tests/mv/into-self-2
@@
-3,7
+3,7
@@
# Consider the case where SRC and DEST are on different
# partitions and DEST is a symlink to SRC.
# Consider the case where SRC and DEST are on different
# partitions and DEST is a symlink to SRC.
-# Copyright (C) 1998
, 1999, 200, 007
Free Software Foundation, Inc.
+# Copyright (C) 1998
-2000, 2006-2009
Free Software Foundation, Inc.
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
@@
-23,15
+23,13
@@
if test "$VERBOSE" = yes; then
mv --version
fi
mv --version
fi
-. $srcdir/../lang-default
-. $srcdir/../test-lib.sh
+. $srcdir/test-lib.sh
cleanup_() { rm -rf "$other_partition_tmpdir"; }
cleanup_() { rm -rf "$other_partition_tmpdir"; }
-. "$abs_
top_srcdir/tests
/other-fs-tmpdir"
+. "$abs_
srcdir
/other-fs-tmpdir"
file="$other_partition_tmpdir/file"
symlink=symlink
file="$other_partition_tmpdir/file"
symlink=symlink
-fail=0
echo whatever > $file || framework_failure
ln -s $file $symlink || framework_failure
echo whatever > $file || framework_failure
ln -s $file $symlink || framework_failure
@@
-55,4
+53,4
@@
EOF
compare out2 exp || fail=1
compare out2 exp || fail=1
-
e
xit $fail
+
E
xit $fail