1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-15 23:24:37 +03:00
Jelmer Vernooij 477ecbd498 r24861: Use absolute paths to make it easier to run the testsuite from the Samba3 source.
(This used to be commit 022d5a43cedeb5cca7e4cf3424963e2180ec1f2f)
2007-10-10 15:03:21 -05:00

19 lines
804 B
Bash
Executable File

#!/bin/sh
# test some simple EJS operations
CONFIGURATION="$*"
incdir=`dirname $0`
. $incdir/test_functions.sh
SCRIPTDIR=$samba4srcdir/../testprogs/ejs
DATADIR=$samba4srcdir/../testdata
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 $samba4srcdir/scripting/bin/winreg $CONFIGURATION ncalrpc: 'HKLM' -U\$USERNAME%\$PASSWORD