Collin Funk <collin.funk1@gmail.com> writes:
>> -csplit: read error: Is a directory
>> +csplit: '/^a/': match not found
>> FAIL tests/csplit/csplit.sh (exit status: 1)
>
> Interesting. I will take a look at this later today, thanks.
>
> I thought it would be unproblematic since we check for read errors using
> the current working directory in tests/misc/misc/read-errors.sh.
Oh, that file has this check that I forgot about:
! cat . >/dev/null 2>&1 || skip_ "Need unreadable directories"
I pushed the attached patch after testing it on NetBSD 10.1.
Thanks!
Collin