summaryrefslogtreecommitdiffstats
path: root/tests/ts-ipcs-headers
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-ipcs-headers
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-ipcs-headers')
-rwxr-xr-xtests/ts-ipcs-headers4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/ts-ipcs-headers b/tests/ts-ipcs-headers
index 601bea808..f8dca77cd 100755
--- a/tests/ts-ipcs-headers
+++ b/tests/ts-ipcs-headers
@@ -1,7 +1,7 @@
#!/bin/bash
-. commands.sh
-. functions.sh
+. ./commands.sh
+. ./functions.sh
TS_COMPONENT="ipcs"
TS_DESC="headers"