diff options
author | Jelmer Vernooij <jelmer@samba.org> | 2006-10-16 20:05:19 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 14:21:13 -0500 |
commit | 52e3f69a36b6ba6a589a8f768fbee77ee06b281c (patch) | |
tree | 4f77d34f1c12b2fb77f672ed2d989f7ad88d7ca6 /source4/torture/local | |
parent | 3478bf1c238eaa82d9383f18dcb7d802aed06cd0 (diff) | |
download | samba-52e3f69a36b6ba6a589a8f768fbee77ee06b281c.tar.gz samba-52e3f69a36b6ba6a589a8f768fbee77ee06b281c.tar.bz2 samba-52e3f69a36b6ba6a589a8f768fbee77ee06b281c.zip |
r19343: Add support for external scripts/binaries that write results using the
'subunit' protocol. This allows us to easily plug EJS scripts or binaries that
can't depend on -ltorture into smbtorture. The protocol is very simple:
- write "comments" to stderr
Example output on stdout:
test: foo
success: foo
test: bar
success: bar
test: blah
failure: blah [
dummy.c:30: Expression 1 != 2 failed!
]
test: blie
skip: blie [
Iconv support not built in
]
I've already converted the talloc testsuite.
(This used to be commit e1742c14a247fabba969f8698108e73997d3f420)
Diffstat (limited to 'source4/torture/local')
-rw-r--r-- | source4/torture/local/config.mk | 1 | ||||
-rw-r--r-- | source4/torture/local/local.c | 5 |
2 files changed, 0 insertions, 6 deletions
diff --git a/source4/torture/local/config.mk b/source4/torture/local/config.mk index 682fb55416..a997732c29 100644 --- a/source4/torture/local/config.mk +++ b/source4/torture/local/config.mk @@ -7,7 +7,6 @@ PRIVATE_PROTO_HEADER = \ proto.h OBJ_FILES = \ iconv.o \ - ../../lib/talloc/testsuite.o \ ../../lib/replace/test/testsuite.o \ ../../lib/replace/test/os2_delete.o \ ../../lib/crypto/md4test.o \ diff --git a/source4/torture/local/local.c b/source4/torture/local/local.c index 42fe94bc92..2408971199 100644 --- a/source4/torture/local/local.c +++ b/source4/torture/local/local.c @@ -52,12 +52,7 @@ NTSTATUS torture_local_init(void) struct torture_suite *suite = torture_suite_create( talloc_autofree_context(), "LOCAL"); - struct torture_suite *talloc_suite = torture_suite_create( - talloc_autofree_context(), - "TALLOC"); - torture_local_talloc(talloc_suite); - torture_suite_add_suite(suite, talloc_suite); torture_suite_add_simple_test(suite, "REPLACE", torture_local_replace); torture_suite_add_simple_test(suite, "CRYPTO-SHA1", torture_local_crypto_sha1); |