summaryrefslogtreecommitdiffstats
path: root/tests/run.sh
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/run.sh
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/run.sh')
-rwxr-xr-xtests/run.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/run.sh b/tests/run.sh
index 51b7f7383..a731cc1b3 100755
--- a/tests/run.sh
+++ b/tests/run.sh
@@ -1,6 +1,6 @@
#!/bin/bash
-. commands.sh
+. ./commands.sh
echo
echo "------------------ Utils-linux-ng regression tests ------------------"