From 001dc40ecd76bb7ea0e3d2a043bab42c9ba7c780 Mon Sep 17 00:00:00 2001 From: Andrew Tridgell Date: Sun, 10 Jul 2005 00:26:54 +0000 Subject: 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) --- source4/script/tests/test_ejs.sh | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'source4/script/tests/test_ejs.sh') 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 -- cgit