summaryrefslogtreecommitdiff
path: root/tests/mkdir
diff options
context:
space:
mode:
authorJim Meyering <meyering@redhat.com>2008-05-27 13:45:44 +0200
committerJim Meyering <meyering@redhat.com>2008-05-27 13:48:32 +0200
commit00a309823501317f9061a28e98cc13177bc4a12a (patch)
treedbfff1a02de790d3585e296a2141369adcdaa5de /tests/mkdir
parentc6c9e8730e23af5d96a3b25331b0510112422abb (diff)
downloadcoreutils-00a309823501317f9061a28e98cc13177bc4a12a.tar.xz
in 280+ tests/* files, use $srcdir, not $top_srcdir/tests
Diffstat (limited to 'tests/mkdir')
-rwxr-xr-xtests/mkdir/p-12
-rwxr-xr-xtests/mkdir/p-22
-rwxr-xr-xtests/mkdir/p-32
-rwxr-xr-xtests/mkdir/p-slashdot2
-rwxr-xr-xtests/mkdir/p-thru-slink2
-rwxr-xr-xtests/mkdir/p-v2
-rwxr-xr-xtests/mkdir/parents2
-rwxr-xr-xtests/mkdir/perm2
-rwxr-xr-xtests/mkdir/selinux2
-rwxr-xr-xtests/mkdir/special-12
-rwxr-xr-xtests/mkdir/t-slash2
-rwxr-xr-xtests/mkdir/writable-under-readonly2
12 files changed, 12 insertions, 12 deletions
diff --git a/tests/mkdir/p-1 b/tests/mkdir/p-1
index 95b26be8a..85a2458e6 100755
--- a/tests/mkdir/p-1
+++ b/tests/mkdir/p-1
@@ -21,7 +21,7 @@ if test "$VERBOSE" = yes; then
mkdir --version
fi
-. $top_srcdir/tests/test-lib.sh
+. $srcdir/test-lib.sh
fail=0
mkdir --parents "`pwd`/t" || fail=1
diff --git a/tests/mkdir/p-2 b/tests/mkdir/p-2
index bbf391304..7daf0b5fa 100755
--- a/tests/mkdir/p-2
+++ b/tests/mkdir/p-2
@@ -21,7 +21,7 @@ if test "$VERBOSE" = yes; then
mkdir --version
fi
-. $top_srcdir/tests/test-lib.sh
+. $srcdir/test-lib.sh
fail=0
mkdir --parents "`pwd`/t/u" || fail=1
diff --git a/tests/mkdir/p-3 b/tests/mkdir/p-3
index e05021ff2..54052f171 100755
--- a/tests/mkdir/p-3
+++ b/tests/mkdir/p-3
@@ -23,7 +23,7 @@ if test "$VERBOSE" = yes; then
mkdir --version
fi
-. $top_srcdir/tests/test-lib.sh
+. $srcdir/test-lib.sh
skip_if_root_
mkdir no-access || framework_failure
diff --git a/tests/mkdir/p-slashdot b/tests/mkdir/p-slashdot
index 273b7b7e3..d2c3f983c 100755
--- a/tests/mkdir/p-slashdot
+++ b/tests/mkdir/p-slashdot
@@ -21,7 +21,7 @@ if test "$VERBOSE" = yes; then
mkdir --version
fi
-. $top_srcdir/tests/test-lib.sh
+. $srcdir/test-lib.sh
fail=0
diff --git a/tests/mkdir/p-thru-slink b/tests/mkdir/p-thru-slink
index c32619140..accdc7985 100755
--- a/tests/mkdir/p-thru-slink
+++ b/tests/mkdir/p-thru-slink
@@ -21,7 +21,7 @@ if test "$VERBOSE" = yes; then
mkdir --version
fi
-. $top_srcdir/tests/test-lib.sh
+. $srcdir/test-lib.sh
ln -s . slink || framework_failure
diff --git a/tests/mkdir/p-v b/tests/mkdir/p-v
index b3759d559..27696b52d 100755
--- a/tests/mkdir/p-v
+++ b/tests/mkdir/p-v
@@ -21,7 +21,7 @@ if test "$VERBOSE" = yes; then
mkdir --version
fi
-. $top_srcdir/tests/test-lib.sh
+. $srcdir/test-lib.sh
fail=0
mkdir -pv foo/a/b/c/d >out || fail=1
diff --git a/tests/mkdir/parents b/tests/mkdir/parents
index 2aee87e6f..5433ee0b8 100755
--- a/tests/mkdir/parents
+++ b/tests/mkdir/parents
@@ -21,7 +21,7 @@ if test "$VERBOSE" = yes; then
mkdir --version
fi
-. $top_srcdir/tests/test-lib.sh
+. $srcdir/test-lib.sh
. "$abs_srcdir/setgid-check"
mkdir -m 700 e-dir || framework_failure
diff --git a/tests/mkdir/perm b/tests/mkdir/perm
index 6df1d4339..4fa9b5604 100755
--- a/tests/mkdir/perm
+++ b/tests/mkdir/perm
@@ -22,7 +22,7 @@ if test "$VERBOSE" = yes; then
mkdir --version
fi
-. $top_srcdir/tests/test-lib.sh
+. $srcdir/test-lib.sh
. "$abs_srcdir/setgid-check"
working_umask_or_skip_
diff --git a/tests/mkdir/selinux b/tests/mkdir/selinux
index 31b1f3e23..291d62da1 100755
--- a/tests/mkdir/selinux
+++ b/tests/mkdir/selinux
@@ -27,7 +27,7 @@ fi
# mcstrans-0.2.8-1.fc9, the following commands may mistakenly exit
# successfully, in spite of the invalid context string.
-. $top_srcdir/tests/test-lib.sh
+. $srcdir/test-lib.sh
c=invalid-selinux-context
msg="failed to set default file creation context to \`$c':"
diff --git a/tests/mkdir/special-1 b/tests/mkdir/special-1
index 10d5b86aa..9d13cbad9 100755
--- a/tests/mkdir/special-1
+++ b/tests/mkdir/special-1
@@ -21,7 +21,7 @@ if test "$VERBOSE" = yes; then
mkdir --version
fi
-. $top_srcdir/tests/test-lib.sh
+. $srcdir/test-lib.sh
set_mode_string=u=rwx,g=rx,o=w,-s,+t
output_mode_string=drwxr-x-wT
diff --git a/tests/mkdir/t-slash b/tests/mkdir/t-slash
index fdb5e8692..e95b0529b 100755
--- a/tests/mkdir/t-slash
+++ b/tests/mkdir/t-slash
@@ -22,7 +22,7 @@ if test "$VERBOSE" = yes; then
mkdir --version
fi
-. $top_srcdir/tests/test-lib.sh
+. $srcdir/test-lib.sh
fail=0
diff --git a/tests/mkdir/writable-under-readonly b/tests/mkdir/writable-under-readonly
index ebca859b8..1057b445b 100755
--- a/tests/mkdir/writable-under-readonly
+++ b/tests/mkdir/writable-under-readonly
@@ -29,7 +29,7 @@ if test "$VERBOSE" = yes; then
mkdir --version
fi
-. $top_srcdir/tests/test-lib.sh
+. $srcdir/test-lib.sh
require_root_
# FIXME: for now, skip it unconditionally