summaryrefslogtreecommitdiff
path: root/tests/mv
diff options
context:
space:
mode:
Diffstat (limited to 'tests/mv')
-rwxr-xr-xtests/mv/acl2
-rwxr-xr-xtests/mv/childproof2
-rwxr-xr-xtests/mv/diag2
-rwxr-xr-xtests/mv/dup-source2
-rwxr-xr-xtests/mv/hard-22
-rwxr-xr-xtests/mv/i-22
-rwxr-xr-xtests/mv/part-symlink2
-rwxr-xr-xtests/mv/update2
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