Re: [GNU Autoconf 2.72] testsuite: 19 failed

Paul Eggert <[email protected]> Tue, 31 Dec 2024 04:54:24 -0800
Newsgroups gmane.comp.sysutils.autoconf.bugs
Message-ID <[email protected]>
On 12/31/24 04:49, Sean Denney wrote:
> When I set the shell to sh, then echo $? returns 1 after running test -nt

OK, I think we've found the problem: plain sh doesn't fully support test 
-nt. It'd help to see how bad the problem is.

If you run sh, does 'test A -nt B' work when A is much newer than B? 
What happens when you run the following under sh?

touch B
sleep 2
touch A
test B -nt A
echo $?