From: Pádraig Brady Date: Mon, 16 Mar 2026 22:34:58 +0000 (+0000) Subject: tests: dd: fix false failure on NetBSD 10 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=58d88d243552209b7a62b9d070026208ba2ae428;p=thirdparty%2Fcoreutils.git tests: dd: fix false failure on NetBSD 10 * tests/dd/partial-write.sh: Skip the test if nothing written at all, as was seen on NetBSD 10. Reported by Bruno Haible. --- diff --git a/tests/dd/partial-write.sh b/tests/dd/partial-write.sh index 2c3019491c..80885d056f 100755 --- a/tests/dd/partial-write.sh +++ b/tests/dd/partial-write.sh @@ -27,6 +27,7 @@ print_ver_ dd ret=$? if test $ret = 1; then + test -s f || skip_ 'The system disallowed all writes' grep -F '+1 records out' err || { cat err; fail=1; } elif test $ret = 0; then skip_ 'The system did not limit the file fize'