As for autoconf, this is what shows in the testsuite file:

if test ${ZSH_VERSION+y} && (emulate sh) >/dev/null 2>&1
then :
  emulate sh

So it is really just zsh. I reran test -nt after starting emulate sh and the 
result is the same:

echo $? returns 0

stat -f %Fm configure configure.1
1735604012.974301525
1735604012.850264895

— Sean

> On Dec 31, 2024, at 5:56 AM, Sean Denney <sden...@me.com> wrote:
> 
> The default shell is zsh.
> 
> Here are the timestamps to the nanosecond for the two files:
> 
> % stat -f %Fm configure configure.1
> 1735604012.974301525
> 1735604012.850264895
> 
> — Sean
> 
>> On Dec 31, 2024, at 5:43 AM, Paul Eggert <egg...@cs.ucla.edu> wrote:
>> 
>> On 12/31/24 03:38, Paul Eggert wrote:
>>> Also the echo output was zero (0)
>> 
>> Oh, but the log in your first message said "test configure -nt configure.1" 
>> had exit status 1.
>> 
>> Possibly you're using a different shell than Autoconf uses to run its test 
>> script, and your shell supports test -nt whereas the shell Autoconf uses 
>> does not.
>> 
>> What shell are you using?
>> 
>> What shell is Autoconf using? Look at the first line of tests/testsuite. If 
>> you start up that shell, and run the same 'test -nt' command, what is its 
>> exit status?
> 

Reply via email to