tests: Cleanup commented testcases
@@ -1033,15 +1033,9 @@ static void test_ksLookup (void)
ksUnsort (ks);
for (j = 0; j < 23; j++)
succeed_if (ksLookup (ks, k[j], 0) == k[j], "did not find key");
- // succeed_if (ksLookup (ks, k[23], KDB_O_NOCASE) == k[5], "did not find key");
succeed_if (ksLookup (ks, k[23], 0) == 0, "found wrong key");
- // succeed_if (ksLookup (ks, k[24], KDB_O_NOCASE) == k[6], "did not find key");
succeed_if (ksLookup (ks, k[24], 0) == 0, "found wrong key");
- // succeed_if (ksLookup (ks, k[25], KDB_O_NOCASE) == k[6], "did not find key");
- // succeed_if (ksLookup (ks, k[25], KDB_O_WITHOWNER | KDB_O_NOCASE) == 0, "found wrong key");
succeed_if (ksLookup (ks, k[28], 0) == k[6], "did not find key");
- // succeed_if (ksLookup (ks, k[28], KDB_O_WITHOWNER) == 0, "found wrong key");
- // succeed_if (ksLookup (ks, k[31], KDB_O_WITHOWNER) == k[13], "did not find key");
succeed_if (ksLookup (ks, k[32], 0) == k[6], "did not find key");
succeed_if (ksLookup (ks, k[33], 0) == 0, "found wrong key");
@@ -1112,15 +1106,9 @@ static void test_ksLookupByName (void)
ksUnsort (ks);
for (j = 0; j < 23; j++)
succeed_if (ksLookupByName (ks, name[j], 0) == k[j], "did not find key");
- // succeed_if (ksLookupByName (ks, name[23], KDB_O_NOCASE) == k[5], "did not find key");
succeed_if (ksLookupByName (ks, name[23], 0) == 0, "found wrong key");
- // succeed_if (ksLookupByName (ks, name[24], KDB_O_NOCASE) == k[6], "did not find key");
succeed_if (ksLookupByName (ks, name[24], 0) == 0, "found wrong key");
- // succeed_if (ksLookupByName (ks, name[25], KDB_O_NOCASE) == k[6], "did not find key");
- // succeed_if (ksLookupByName (ks, name[25], KDB_O_WITHOWNER | KDB_O_NOCASE) == 0, "found wrong key");
succeed_if (ksLookupByName (ks, name[28], 0) == k[6], "did not find key");
- // succeed_if (ksLookupByName (ks, name[28], KDB_O_WITHOWNER) == 0, "found wrong key");
- // succeed_if (ksLookupByName (ks, name[31], KDB_O_WITHOWNER) == k[13], "did not find key");
for (int n = 32; n < 38; ++n)
succeed_if (ksLookupByName (ks, name[n], 0) == k[5], "did not find key");
/* Empty lines to add more tests:
