summaryrefslogtreecommitdiff
path: root/tests/ln
diff options
context:
space:
mode:
Diffstat (limited to 'tests/ln')
-rwxr-xr-xtests/ln/backup-1.sh2
-rwxr-xr-xtests/ln/hard-backup.sh2
-rwxr-xr-xtests/ln/hard-to-sym.sh2
-rwxr-xr-xtests/ln/misc.sh2
-rwxr-xr-xtests/ln/relative.sh2
-rwxr-xr-xtests/ln/sf-1.sh2
-rwxr-xr-xtests/ln/slash-decorated-nonexistent-dest.sh2
-rwxr-xr-xtests/ln/target-1.sh2
8 files changed, 8 insertions, 8 deletions
diff --git a/tests/ln/backup-1.sh b/tests/ln/backup-1.sh
index ffd630bcf..ecd77f5b1 100755
--- a/tests/ln/backup-1.sh
+++ b/tests/ln/backup-1.sh
@@ -19,7 +19,7 @@
# Based on a problem report from Jamie Lokier.
-. "${srcdir=.}/init.sh"; path_prepend_ ../src
+. "${srcdir=.}/tests/init.sh"; path_prepend_ ./src
print_ver_ ln
touch a b || framework_failure_
diff --git a/tests/ln/hard-backup.sh b/tests/ln/hard-backup.sh
index bc38bbe5d..fe87f6a3e 100755
--- a/tests/ln/hard-backup.sh
+++ b/tests/ln/hard-backup.sh
@@ -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=.}/init.sh"; path_prepend_ ../src
+. "${srcdir=.}/tests/init.sh"; path_prepend_ ./src
print_ver_ ln
touch f || framework_failure_
diff --git a/tests/ln/hard-to-sym.sh b/tests/ln/hard-to-sym.sh
index 358b93008..3b30a7109 100755
--- a/tests/ln/hard-to-sym.sh
+++ b/tests/ln/hard-to-sym.sh
@@ -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=.}/init.sh"; path_prepend_ ../src
+. "${srcdir=.}/tests/init.sh"; path_prepend_ ./src
print_ver_ ln
diff --git a/tests/ln/misc.sh b/tests/ln/misc.sh
index 4da0eda45..79e2beae6 100755
--- a/tests/ln/misc.sh
+++ b/tests/ln/misc.sh
@@ -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=.}/init.sh"; path_prepend_ ../src
+. "${srcdir=.}/tests/init.sh"; path_prepend_ ./src
print_ver_ ln
t=tln-symlink
diff --git a/tests/ln/relative.sh b/tests/ln/relative.sh
index cfc34691e..9028b439b 100755
--- a/tests/ln/relative.sh
+++ b/tests/ln/relative.sh
@@ -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=.}/init.sh"; path_prepend_ ../src
+. "${srcdir=.}/tests/init.sh"; path_prepend_ ./src
print_ver_ ln
mkdir -p usr/bin || framework_failure_
diff --git a/tests/ln/sf-1.sh b/tests/ln/sf-1.sh
index 824c22432..6efea75b0 100755
--- a/tests/ln/sf-1.sh
+++ b/tests/ln/sf-1.sh
@@ -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=.}/init.sh"; path_prepend_ ../src
+. "${srcdir=.}/tests/init.sh"; path_prepend_ ./src
print_ver_ ln
echo foo > a || framework_failure_
diff --git a/tests/ln/slash-decorated-nonexistent-dest.sh b/tests/ln/slash-decorated-nonexistent-dest.sh
index 5da855e6c..ae24cdc70 100755
--- a/tests/ln/slash-decorated-nonexistent-dest.sh
+++ b/tests/ln/slash-decorated-nonexistent-dest.sh
@@ -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=.}/init.sh"; path_prepend_ ../src
+. "${srcdir=.}/tests/init.sh"; path_prepend_ ./src
print_ver_ ln
touch f || framework_failure_
diff --git a/tests/ln/target-1.sh b/tests/ln/target-1.sh
index 1d511e5e7..7dc1829f4 100755
--- a/tests/ln/target-1.sh
+++ b/tests/ln/target-1.sh
@@ -21,7 +21,7 @@
# ln: 'd/.': cannot overwrite directory
# Based on a test case from Dmitry V. Levin.
-. "${srcdir=.}/init.sh"; path_prepend_ ../src
+. "${srcdir=.}/tests/init.sh"; path_prepend_ ./src
print_ver_ ln
mkdir d || framework_failure_