torture3: Add a bit more coverage to messaging_read
authorVolker Lendecke <vl@samba.org>
Tue, 29 Apr 2014 12:10:04 +0000 (14:10 +0200)
committerVolker Lendecke <vl@samba.org>
Wed, 30 Apr 2014 12:52:08 +0000 (14:52 +0200)
Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
source3/torture/test_dbwrap_watch.c

index 4e699fe35c440c9dbfb060825c004cef94f174e4..ab9330fffe985cd88ee84a3719e2a56d7ae6dc82 100644 (file)
@@ -67,6 +67,13 @@ bool run_dbwrap_watch1(int dummy)
        }
        TALLOC_FREE(rec);
 
+       status = dbwrap_store_int32_bystring(db, "different_key", 1);
+       if (!NT_STATUS_IS_OK(status)) {
+               fprintf(stderr, "dbwrap_store_int32 failed: %s\n",
+                       nt_errstr(status));
+               goto fail;
+       }
+
        status = dbwrap_store_int32_bystring(db, keystr, 1);
        if (!NT_STATUS_IS_OK(status)) {
                fprintf(stderr, "dbwrap_store_int32 failed: %s\n",