[DTrace-devel] [PATCH] test: Add xfail for NULL strings

eugene.loh at oracle.com eugene.loh at oracle.com
Mon Sep 19 16:57:14 UTC 2022


From: Eugene Loh <eugene.loh at oracle.com>

This test started to fail with be97c241 ("memcpy: error-check").
This failure indicates the wider problem of missing support for
NULL strings.  E.g., "string s; s = NULL;".

Signed-off-by: Eugene Loh <eugene.loh at oracle.com>
---
 test/unittest/operators/tst.str_comparison-basic.d | 1 +
 1 file changed, 1 insertion(+)

diff --git a/test/unittest/operators/tst.str_comparison-basic.d b/test/unittest/operators/tst.str_comparison-basic.d
index 344a2cf0..34746c64 100644
--- a/test/unittest/operators/tst.str_comparison-basic.d
+++ b/test/unittest/operators/tst.str_comparison-basic.d
@@ -4,6 +4,7 @@
  * Licensed under the Universal Permissive License v 1.0 as shown at
  * http://oss.oracle.com/licenses/upl.
  */
+/* @@xfail: need support for NULL strings */
 
 /*
  * ASSERTION: String comparisons work.
-- 
2.18.4




More information about the DTrace-devel mailing list