Musl does not implement this BSD extension REG_STARTEND and the test states that it will fail without this extention, therefore guard it with SKIP_KNOWN_BUGS so it can be ignored.
Signed-off-by: Khem Raj <[email protected]> --- testsuite/awk.tests | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/testsuite/awk.tests b/testsuite/awk.tests index be25f6696..c56e217e8 100755 --- a/testsuite/awk.tests +++ b/testsuite/awk.tests @@ -612,7 +612,7 @@ b # Currently we use REG_STARTEND ("This flag is a BSD extension, not present in POSIX") # to implement the code to handle this correctly, but if your libc has no REG_STARTEND, # the alternative code mishandles this case. -testing 'awk gsub erroneous word start match' \ +test x"$LIBC" != x"musl" && testing 'awk gsub erroneous word start match' \ "awk 'BEGIN { a=\"abc\"; gsub(/\<b*/,\"\",a); print a }'" \ 'abc\n' \ '' '' _______________________________________________ busybox mailing list [email protected] https://lists.busybox.net/mailman/listinfo/busybox
