summaryrefslogtreecommitdiffstats
path: root/tests/ts-fstab-label2devname
diff options
context:
space:
mode:
authorMike Frysinger2007-07-17 22:47:43 +0200
committerKarel Zak2007-07-23 13:55:36 +0200
commitd6ca1ec176c38ba3e57246aabd55ce20b4e971cf (patch)
tree728b04507632f9065f09377c7ee77c975665b688 /tests/ts-fstab-label2devname
parentcytune: remove linux/tty.h inclusion (diff)
downloadkernel-qcow2-util-linux-d6ca1ec176c38ba3e57246aabd55ce20b4e971cf.tar.gz
kernel-qcow2-util-linux-d6ca1ec176c38ba3e57246aabd55ce20b4e971cf.tar.xz
kernel-qcow2-util-linux-d6ca1ec176c38ba3e57246aabd55ce20b4e971cf.zip
tests: use relative paths when sourcing files
The "." command will search $PATH before $PWD if the argument specified contains no path qualifiers which can cause problems if you happen to have something in $PATH named the same. The attached patch changes all of the ". <foo>" in the tests subdir. Signed-off-by: Mike Frysinger <vapier@gentoo.org>
Diffstat (limited to 'tests/ts-fstab-label2devname')
-rwxr-xr-xtests/ts-fstab-label2devname4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/ts-fstab-label2devname b/tests/ts-fstab-label2devname
index 569e0a0dc..788b755df 100755
--- a/tests/ts-fstab-label2devname
+++ b/tests/ts-fstab-label2devname
@@ -19,8 +19,8 @@
# mount by LABEL -- with an devname in fstab
#
-. commands.sh
-. functions.sh
+. ./commands.sh
+. ./functions.sh
TS_COMPONENT="fstab"
TS_DESC="label2devname"