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:
parent
d64bffa17e
commit
757c22aab4
@ -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
1
testprogs/ejs/echo.js
Normal file → Executable file
@ -1,3 +1,4 @@
|
||||
#!/usr/bin/env smbscript
|
||||
/*
|
||||
test echo pipe calls from ejs
|
||||
*/
|
||||
|
1
testprogs/ejs/samr.js
Normal file → Executable file
1
testprogs/ejs/samr.js
Normal file → Executable file
@ -1,3 +1,4 @@
|
||||
#!/usr/bin/env smbscript
|
||||
/*
|
||||
test samr calls from ejs
|
||||
*/
|
||||
|
Loading…
x
Reference in New Issue
Block a user