Re: [GNU Autoconf 2.72] testsuite: 19 failed

Sean Denney <[email protected]> Tue, 31 Dec 2024 06:49:28 -0600
Newsgroups gmane.comp.sysutils.autoconf.bugs
Message-ID <[email protected]>
Ok, it’s #! /bin/sh

When I set the shell to sh, then echo $? returns 1 after running test -nt

— Sean

> On Dec 31, 2024, at 6:40 AM, Paul Eggert <[email protected]> wrote:
> 
> On 12/31/24 04:22, Sean Denney wrote:
>> if test ${ZSH_VERSION+y} && (emulate sh) >/dev/null 2>&1
>> then :
>>   emulate sh
> 
> Those lines say that if testsuite is being run by zsh, then zsh should execute 'emulate sh'. But is testsuite actually being run by zsh? What is the first line of the testsuite file?
> 
> The file timestamps indicate that configure is newer than configure.1, but if you ignore the subseconds part of the timestamps they compare equal. So one possibility is that the testsuite is being run by a shell other than zsh, a shell that ignores subsecond timestamps.
>