s4-torture: more useful error message in SMB2-DIR
authorAndrew Tridgell <tridge@samba.org>
Sun, 7 Feb 2010 10:12:14 +0000 (21:12 +1100)
committerAndrew Tridgell <tridge@samba.org>
Mon, 8 Feb 2010 00:05:00 +0000 (11:05 +1100)
source4/torture/smb2/dir.c

index 8c3cb7633602a27d93946dbd473f2854a8e392c5..df2963b69a9de2937475075e91a6333a67b43082 100644 (file)
@@ -266,8 +266,8 @@ static bool test_fixed(struct torture_context *tctx,
                                continue;
 
                        torture_result(tctx, TORTURE_FAIL,
-                           "(%s): didn't expect %s\n",
-                           __location__, found);
+                                      "(%s): didn't expect %s (count=%u)\n",
+                                      __location__, found, count);
                        ret = false;
                        goto done;
                }