mirror of
https://github.com/samba-team/samba.git
synced 2025-01-17 02:05:21 +03:00
1e84e4026e
as discussed with jelmer and abartlet metze (This used to be commit e9fe3c40e10accb63d7a2124d3a7e77e499c4209)
22 lines
789 B
Bash
Executable File
22 lines
789 B
Bash
Executable File
#!/bin/sh
|
|
# test some simple EJS operations
|
|
|
|
CONFIGURATION="$*"
|
|
|
|
incdir=`dirname $0`
|
|
. $incdir/test_functions.sh
|
|
|
|
SCRIPTDIR=../testprogs/ejs
|
|
DATADIR=../testdata
|
|
|
|
PATH=bin:$PATH
|
|
export PATH
|
|
|
|
plantest "base.js" dc "$SCRIPTDIR/base.js" $CONFIGURATION
|
|
plantest "samr.js" dc "$SCRIPTDIR/samr.js" $CONFIGURATION ncalrpc: -U\$USERNAME%\$PASSWORD
|
|
plantest "echo.js" dc "$SCRIPTDIR/echo.js" $CONFIGURATION ncalrpc: -U\$USERNAME%\$PASSWORD
|
|
plantest "ejsnet.js" dc "$SCRIPTDIR/ejsnet.js" $CONFIGURATION -U\$USERNAME%\$PASSWORD \$DOMAIN ejstestuser
|
|
plantest "ldb.js" none "$SCRIPTDIR/ldb.js" `pwd` $CONFIGURATION
|
|
plantest "samba3sam.js" none $SCRIPTDIR/samba3sam.js $CONFIGURATION `pwd` $DATADIR/samba3/
|
|
plantest "winreg" dc scripting/bin/winreg $CONFIGURATION ncalrpc: 'HKLM' -U\$USERNAME%\$PASSWORD
|