Files
horizon-packages/srcpkgs/mawk/patches/skip-nan-demo.patch
T

24 lines
893 B
Diff

Skip the NaN comparison demo for now
Comparing not-a-number values in -Wposix compliant mode does not produce
the expected output under musl. See comment
https://github.com/void-linux/void-packages/pull/58870#issuecomment-3865539591
--- a/test/mawktest
+++ b/test/mawktest
@@ -283,10 +283,10 @@ not_a_sign() {
fi
}
-Begin "not-a-number demo"
-LC_ALL=C $PROG --posix -f nan.awk | tee $MYTEMP/result | cmp -s - nan-posix.out || not_a_sign "posix"
-LC_ALL=C $PROG -f nan.awk | tee $MYTEMP/result | cmp -s - nan-legacy.out || not_a_sign "legacy"
-Finish "not-a-number demo"
+#Begin "not-a-number demo"
+#LC_ALL=C $PROG --posix -f nan.awk | tee $MYTEMP/result | cmp -s - nan-posix.out || not_a_sign "posix"
+#LC_ALL=C $PROG -f nan.awk | tee $MYTEMP/result | cmp -s - nan-legacy.out || not_a_sign "legacy"
+#Finish "not-a-number demo"
#################################