summaryrefslogtreecommitdiff
path: root/source4/script/tests
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2005-07-10 00:26:54 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 13:19:28 -0500
commit001dc40ecd76bb7ea0e3d2a043bab42c9ba7c780 (patch)
tree95d063fda2748ff919c18489199373b74d8b1cf5 /source4/script/tests
parentd0c347188246ae6d36e56457cb96c002f430da23 (diff)
downloadsamba-001dc40ecd76bb7ea0e3d2a043bab42c9ba7c780.tar.gz
samba-001dc40ecd76bb7ea0e3d2a043bab42c9ba7c780.tar.bz2
samba-001dc40ecd76bb7ea0e3d2a043bab42c9ba7c780.zip
r8271: make the ejs test scripts directly executable scripts using:
#!/usr/bin/env smbscript I'll be interested to see how portable this is in the build farm. (This used to be commit 757c22aab43fadc776006ac5970dbfb46a13fa3c)
Diffstat (limited to 'source4/script/tests')
-rwxr-xr-xsource4/script/tests/test_ejs.sh5
1 files changed, 4 insertions, 1 deletions
diff --git a/source4/script/tests/test_ejs.sh b/source4/script/tests/test_ejs.sh
index 83a16c631b..3e2a2a7884 100755
--- a/source4/script/tests/test_ejs.sh
+++ b/source4/script/tests/test_ejs.sh
@@ -17,7 +17,10 @@ incdir=`dirname $0`
SCRIPTDIR=../testprogs/ejs
+PATH=bin:$PATH
+export PATH
+
for f in samr.js echo.js; do
- testit "$f" bin/smbscript $SCRIPTDIR/$f ncacn_np:$SERVER -U$USERNAME%$PASSWORD || failed=`expr $failed + 1`
+ testit "$f" $SCRIPTDIR/$f ncacn_np:$SERVER -U$USERNAME%$PASSWORD || failed=`expr $failed + 1`
done