diff options
author | Stefan Metzmacher <metze@samba.org> | 2008-02-27 16:22:04 +0100 |
---|---|---|
committer | Stefan Metzmacher <metze@samba.org> | 2008-02-27 16:33:32 +0100 |
commit | 202ffb47d7ce94b529d5cd6d8ee44756aaad21bf (patch) | |
tree | 80964118d1ab7e96c6e91b158819049253df7636 | |
parent | a9e6ed7d7b9b5f0fee8c4fe33a5443bad91bcfe5 (diff) | |
download | samba-202ffb47d7ce94b529d5cd6d8ee44756aaad21bf.tar.gz samba-202ffb47d7ce94b529d5cd6d8ee44756aaad21bf.tar.bz2 samba-202ffb47d7ce94b529d5cd6d8ee44756aaad21bf.zip |
RAW-OPLOCK: use torture_result(TORTURE_FAIL) so that the knownfailures file work
metze
(This used to be commit 656011add338ab87188849c4a716d3c65a102a74)
-rw-r--r-- | source4/torture/raw/oplock.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source4/torture/raw/oplock.c b/source4/torture/raw/oplock.c index 8e3416a119..0ca14a10f8 100644 --- a/source4/torture/raw/oplock.c +++ b/source4/torture/raw/oplock.c @@ -27,14 +27,14 @@ #define CHECK_VAL(v, correct) do { \ if ((v) != (correct)) { \ - torture_comment(tctx, "(%s): wrong value for %s got 0x%x - should be 0x%x\n", \ + torture_result(tctx, TORTURE_FAIL, "(%s): wrong value for %s got 0x%x - should be 0x%x\n", \ __location__, #v, (int)v, (int)correct); \ ret = false; \ }} while (0) #define CHECK_STRMATCH(v, correct) do { \ if (!v || strstr((v),(correct)) == NULL) { \ - torture_comment(tctx, "(%s): wrong value for %s got '%s' - should be '%s'\n", \ + torture_result(tctx, TORTURE_FAIL, "(%s): wrong value for %s got '%s' - should be '%s'\n", \ __location__, #v, v?v:"NULL", correct); \ ret = false; \ } \ |