r8300: get the js include path right in selftest
authorAndrew Tridgell <tridge@samba.org>
Mon, 11 Jul 2005 00:40:46 +0000 (00:40 +0000)
committerGerald (Jerry) Carter <jerry@samba.org>
Wed, 10 Oct 2007 18:19:33 +0000 (13:19 -0500)
source/script/tests/selftest.sh
source/script/tests/test_ejs.sh

index 5e94ea13e24ccff88e1b48e585cc3bf9a7cb8aa0..7f49b98c9cdde2adb16af342cddef915c3c2ff3c 100755 (executable)
@@ -68,7 +68,7 @@ cat >$CONFFILE<<EOF
        pid directory = $PIDDIR
        ncalrpc dir = $NCALRPCDIR
        lock dir = $LOCKDIR
-       js include = $LIBDIR/js
+        js include = $SRCDIR/scripting/libjs
        name resolve order = bcast
        interfaces = lo*
 
index 3e2a2a788496f944351d9d5b4b490a3c593e7086..25d140511936fd0b1edeaab4180411c1de5d466d 100755 (executable)
@@ -21,6 +21,6 @@ PATH=bin:$PATH
 export PATH
 
 for f in samr.js echo.js; do
-    testit "$f" $SCRIPTDIR/$f ncacn_np:$SERVER -U$USERNAME%$PASSWORD || failed=`expr $failed + 1`
+    testit "$f" $SCRIPTDIR/$f $CONFIGURATION ncacn_np:$SERVER -U$USERNAME%$PASSWORD || failed=`expr $failed + 1`
 done