summaryrefslogtreecommitdiff
path: root/source4/script/tests
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2006-10-28 05:21:11 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 14:24:40 -0500
commit863bd921f26f95523674de325e520ae2523df3a9 (patch)
tree665ebcf5219b501996b16e90363da7d3f99083c8 /source4/script/tests
parentbb435cbd0313ec0ec6889181223929578603d73d (diff)
downloadsamba-863bd921f26f95523674de325e520ae2523df3a9.tar.gz
samba-863bd921f26f95523674de325e520ae2523df3a9.tar.bz2
samba-863bd921f26f95523674de325e520ae2523df3a9.zip
r19503: it only makes sense to run the LOCAL-ICONV test on 'known good'
platforms as it tests the system iconv with the built in iconv. Limit the test to Linux to avoid spurious errors. (This used to be commit 9e1a8475ca7d1f8490cf8502c08a2544cfec5599)
Diffstat (limited to 'source4/script/tests')
-rwxr-xr-xsource4/script/tests/test_local.sh8
1 files changed, 7 insertions, 1 deletions
diff --git a/source4/script/tests/test_local.sh b/source4/script/tests/test_local.sh
index 7becefe6f3..ec152432da 100755
--- a/source4/script/tests/test_local.sh
+++ b/source4/script/tests/test_local.sh
@@ -5,11 +5,17 @@ local_tests="$local_tests LOCAL-IDTREE LOCAL-EVENT"
local_tests="$local_tests LOCAL-SOCKET LOCAL-MESSAGING LOCAL-IRPC"
local_tests="$local_tests LOCAL-NDR LOCAL-BINDING LOCAL-FILE LOCAL-REGISTRY"
local_tests="$local_tests LOCAL-SDDL LOCAL-PAC LOCAL-DBSPEED"
-local_tests="$local_tests LOCAL-NTLMSSP LOCAL-CRYPTO-MD4 LOCAL-ICONV"
+local_tests="$local_tests LOCAL-NTLMSSP LOCAL-CRYPTO-MD4"
local_tests="$local_tests LOCAL-CRYPTO-MD5 LOCAL-CRYPTO-HMACMD5"
local_tests="$local_tests LOCAL-CRYPTO-SHA1 LOCAL-CRYPTO-HMACSHA1"
local_tests="$local_tests LOCAL-RESOLVE LOCAL-TORTURE"
+if [ `uname` = "Linux" ]; then
+ # testing against the system iconv only makes sense for our 'reference' iconv
+ # behaviour
+ local_tests="$local_tests LOCAL-ICONV"
+fi
+
if [ $# -lt 0 ]; then
cat <<EOF
Usage: test_local.sh