summaryrefslogtreecommitdiff
path: root/source4/selftest/test_pidl.sh
diff options
context:
space:
mode:
authorJelmer Vernooij <jelmer@samba.org>2007-09-01 00:36:01 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 15:03:21 -0500
commitc3077a9e4bd3fd61055a1824946f6f2fb4aec583 (patch)
tree0d03996de0570b7ecd9d289a7f3b6cdf3600548e /source4/selftest/test_pidl.sh
parent48029b35201e099aa7bbbe4390b59cfb7a2c6f69 (diff)
downloadsamba-c3077a9e4bd3fd61055a1824946f6f2fb4aec583.tar.gz
samba-c3077a9e4bd3fd61055a1824946f6f2fb4aec583.tar.bz2
samba-c3077a9e4bd3fd61055a1824946f6f2fb4aec583.zip
r24860: Make it easier to run selftest.pl in a Samba3 source tree.
(This used to be commit 53ec879e3168e9f56e774f0b0d70aeebb3795f8e)
Diffstat (limited to 'source4/selftest/test_pidl.sh')
-rwxr-xr-xsource4/selftest/test_pidl.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/source4/selftest/test_pidl.sh b/source4/selftest/test_pidl.sh
index 6a20cd9fc8..7ee2e89e2e 100755
--- a/source4/selftest/test_pidl.sh
+++ b/source4/selftest/test_pidl.sh
@@ -10,8 +10,8 @@ incdir=`dirname $0`
if test x"${PIDL_TESTS_SKIP}" = x"yes"; then
echo "Skipping pidl tests - PIDL_TESTS_SKIP=yes"
elif $PERL -e 'eval require Test::More;' > /dev/null 2>&1; then
- for f in pidl/tests/*.pl; do
- plantest "$f" none $PERL $f "|" ./script/harness2subunit.pl
+ for f in $incdir/../pidl/tests/*.pl; do
+ plantest "`basename $f`" none $PERL $f "|" ./script/harness2subunit.pl
done
else
echo "Skipping pidl tests - Test::More not installed"