diff options
author | Jim Meyering <meyering@redhat.com> | 2010-11-14 12:07:57 +0100 |
---|---|---|
committer | Jim Meyering <meyering@redhat.com> | 2010-11-17 20:48:57 +0100 |
commit | fbcc100f5bc4e5d57370544093fc9edfbde411d3 (patch) | |
tree | fc7976e4eecd908c3f75e0084376a17185b9b43d /tests/mv | |
parent | ff7f0ff85c40174f1885ec61fa4ab6b73d02b555 (diff) | |
download | coreutils-fbcc100f5bc4e5d57370544093fc9edfbde411d3.tar.xz |
tests: convert remaining uses of test-lib.sh to init.sh
RHS='. "\${srcdir=.}/init.sh"; path_prepend_ ../src'
git grep -l test-lib.sh \
| xargs perl -pi -e 's,^\. \$srcdir/test-lib\.sh$,'"$RHS",
Diffstat (limited to 'tests/mv')
-rwxr-xr-x | tests/mv/acl | 2 | ||||
-rwxr-xr-x | tests/mv/childproof | 2 | ||||
-rwxr-xr-x | tests/mv/diag | 2 | ||||
-rwxr-xr-x | tests/mv/dup-source | 2 | ||||
-rwxr-xr-x | tests/mv/hard-2 | 2 | ||||
-rwxr-xr-x | tests/mv/i-2 | 2 | ||||
-rwxr-xr-x | tests/mv/part-symlink | 2 | ||||
-rwxr-xr-x | tests/mv/update | 2 |
8 files changed, 8 insertions, 8 deletions
diff --git a/tests/mv/acl b/tests/mv/acl index c67630ed0..75f500786 100755 --- a/tests/mv/acl +++ b/tests/mv/acl @@ -17,7 +17,7 @@ # You should have received a copy of the GNU General Public License # along with this program. If not, see <http://www.gnu.org/licenses/>. -. $srcdir/test-lib.sh +. "${srcdir=.}/init.sh"; path_prepend_ ../src test "$VERBOSE" = yes && { mv --version; getfacl --version; setfacl --version; } require_acl_ diff --git a/tests/mv/childproof b/tests/mv/childproof index 2e5e4611c..ed6c1802e 100755 --- a/tests/mv/childproof +++ b/tests/mv/childproof @@ -18,7 +18,7 @@ # You should have received a copy of the GNU General Public License # along with this program. If not, see <http://www.gnu.org/licenses/>. -. $srcdir/test-lib.sh +. "${srcdir=.}/init.sh"; path_prepend_ ../src test "$VERBOSE" = yes && { cp --version; mv --version; ln --version; } skip_if_root_ diff --git a/tests/mv/diag b/tests/mv/diag index f40fc7c42..d32513d9b 100755 --- a/tests/mv/diag +++ b/tests/mv/diag @@ -16,7 +16,7 @@ # You should have received a copy of the GNU General Public License # along with this program. If not, see <http://www.gnu.org/licenses/>. -. $srcdir/test-lib.sh +. "${srcdir=.}/init.sh"; path_prepend_ ../src test "$VERBOSE" = yes && mv --version touch f1 || framework_failure diff --git a/tests/mv/dup-source b/tests/mv/dup-source index 9ede87ef6..34ef63332 100755 --- a/tests/mv/dup-source +++ b/tests/mv/dup-source @@ -19,7 +19,7 @@ # You should have received a copy of the GNU General Public License # along with this program. If not, see <http://www.gnu.org/licenses/>. -. $srcdir/test-lib.sh +. "${srcdir=.}/init.sh"; path_prepend_ ../src test "$VERBOSE" = yes && { cp --version; mv --version; } skip_if_root_ diff --git a/tests/mv/hard-2 b/tests/mv/hard-2 index 704e2679d..eb83b117f 100755 --- a/tests/mv/hard-2 +++ b/tests/mv/hard-2 @@ -17,7 +17,7 @@ # You should have received a copy of the GNU General Public License # along with this program. If not, see <http://www.gnu.org/licenses/>. -. $srcdir/test-lib.sh +. "${srcdir=.}/init.sh"; path_prepend_ ../src test "$VERBOSE" = yes && { cp --version; mv --version; } skip_if_root_ diff --git a/tests/mv/i-2 b/tests/mv/i-2 index 83596426e..7e49bcadd 100755 --- a/tests/mv/i-2 +++ b/tests/mv/i-2 @@ -17,7 +17,7 @@ # You should have received a copy of the GNU General Public License # along with this program. If not, see <http://www.gnu.org/licenses/>. -. $srcdir/test-lib.sh +. "${srcdir=.}/init.sh"; path_prepend_ ../src test "$VERBOSE" = yes && { cp --version; mv --version; } skip_if_root_ diff --git a/tests/mv/part-symlink b/tests/mv/part-symlink index bf2fd451a..3f67d6cdd 100755 --- a/tests/mv/part-symlink +++ b/tests/mv/part-symlink @@ -17,7 +17,7 @@ # You should have received a copy of the GNU General Public License # along with this program. If not, see <http://www.gnu.org/licenses/>. -. $srcdir/test-lib.sh +. "${srcdir=.}/init.sh"; path_prepend_ ../src test "$VERBOSE" = yes && { cp --version; mv --version; } cleanup_() { rm -rf "$other_partition_tmpdir"; } diff --git a/tests/mv/update b/tests/mv/update index b0a532c63..5bee53cb2 100755 --- a/tests/mv/update +++ b/tests/mv/update @@ -16,7 +16,7 @@ # You should have received a copy of the GNU General Public License # along with this program. If not, see <http://www.gnu.org/licenses/>. -. $srcdir/test-lib.sh +. "${srcdir=.}/init.sh"; path_prepend_ ../src test "$VERBOSE" = yes && { cp --version; mv --version; } echo old > old || framework_failure |