Print this page
Test of DTrace assert probes

@@ -566,10 +566,18 @@
         mblk_t *mp;
         ipsec_info_t *ii;
         netstack_t *ns;
         keysock_stack_t *keystack;
 
+#ifdef KEBE
+        /*
+         * Some test ASSERT()s that only work with the new dtrace-style assert.
+         */
+        ASSERT(q == NULL);      /* Will likely fail. (575) */
+        ASSERT3P(q, ==, NULL); /* Same here. (576) */
+#endif
+
         if (secpolicy_ip_config(credp, B_FALSE) != 0) {
                 /* Privilege debugging will log the error */
                 return (EPERM);
         }