diff options
author | Andrew Tridgell <tridge@samba.org> | 2005-07-10 00:26:54 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 13:19:28 -0500 |
commit | 001dc40ecd76bb7ea0e3d2a043bab42c9ba7c780 (patch) | |
tree | 95d063fda2748ff919c18489199373b74d8b1cf5 | |
parent | d0c347188246ae6d36e56457cb96c002f430da23 (diff) | |
download | samba-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)
-rwxr-xr-x | source4/script/tests/test_ejs.sh | 5 | ||||
-rwxr-xr-x[-rw-r--r--] | testprogs/ejs/echo.js | 1 | ||||
-rwxr-xr-x[-rw-r--r--] | testprogs/ejs/samr.js | 1 |
3 files changed, 6 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 diff --git a/testprogs/ejs/echo.js b/testprogs/ejs/echo.js index 9607466b0e..4f0fc79f9a 100644..100755 --- a/testprogs/ejs/echo.js +++ b/testprogs/ejs/echo.js @@ -1,3 +1,4 @@ +#!/usr/bin/env smbscript /* test echo pipe calls from ejs */ diff --git a/testprogs/ejs/samr.js b/testprogs/ejs/samr.js index 1a1ca50569..ec2096b818 100644..100755 --- a/testprogs/ejs/samr.js +++ b/testprogs/ejs/samr.js @@ -1,3 +1,4 @@ +#!/usr/bin/env smbscript /* test samr calls from ejs */ |