From 40f85ace04abad7460d0f0afe9211c4280482c6c Mon Sep 17 00:00:00 2001 From: Jelmer Vernooij Date: Tue, 30 Aug 2005 22:38:34 +0000 Subject: [PATCH] r9813: Conver testsuite for samba3sam module to EJS (This used to be commit 77f24ed131bf57c30bb500e1d8d387bd4b403ddc) --- source4/lib/ldb/tests/test-samba3sam.sh | 61 ------------------- source4/script/tests/selftest.sh | 10 ++-- source4/scripting/ejs/smbcalls_sys.c | 6 +- testdata/samba3/smbpasswd | 3 + testprogs/ejs/samba3sam | 78 +++++++++++++++++++++++++ 5 files changed, 89 insertions(+), 69 deletions(-) delete mode 100755 source4/lib/ldb/tests/test-samba3sam.sh create mode 100644 testdata/samba3/smbpasswd create mode 100755 testprogs/ejs/samba3sam diff --git a/source4/lib/ldb/tests/test-samba3sam.sh b/source4/lib/ldb/tests/test-samba3sam.sh deleted file mode 100755 index 5baf0bf77ad..00000000000 --- a/source4/lib/ldb/tests/test-samba3sam.sh +++ /dev/null @@ -1,61 +0,0 @@ -#!/bin/sh - -S3URL=$1 - -if [ -z "$S3URL" ]; -then - rm -f samba3.ldb - S3URL="tdb://samba3.ldb" - echo "Adding samba3 LDIF..." - $VALGRIND ldbadd -H tdb://samba3.ldb < samba3.ldif || exit 1 -fi - -rm -f samba4.ldb - -echo "Initial samba4 LDIF..." -$VALGRIND ldbadd -H tdb://samba4.ldb <$CONFFILE<$CONFFILE<