1
0
mirror of https://github.com/samba-team/samba.git synced 2025-02-18 17:57:55 +03:00

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 commit is contained in:
Andrew Tridgell 2005-07-10 00:26:54 +00:00 committed by Gerald (Jerry) Carter
parent d64bffa17e
commit 757c22aab4
3 changed files with 6 additions and 1 deletions

View File

@ -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

1
testprogs/ejs/echo.js Normal file → Executable file
View File

@ -1,3 +1,4 @@
#!/usr/bin/env smbscript
/*
test echo pipe calls from ejs
*/

1
testprogs/ejs/samr.js Normal file → Executable file
View File

@ -1,3 +1,4 @@
#!/usr/bin/env smbscript
/*
test samr calls from ejs
*/