[bug#60807] [PATCH v2] tests: reuse am_cv_filesystem_timestamp_resolution

2023-01-16 Thread Jacob Bachmeyer
Mike Frysinger wrote: On 14 Jan 2023 21:43, Jacob Bachmeyer wrote: [...] You could also exploit that || short-circuits in the shell and replace the "if" block with " $PERL ... || sleep='sleep ''2' ". This allows you to directly execute a command on a false result and (I think) it is portab

[bug#60807] [PATCH v2] tests: reuse am_cv_filesystem_timestamp_resolution

2023-01-16 Thread Karl Berry
i'll note that Automake tests have been using `if ! ...` since 1.12 (2012), The automake *tests* intentionally use modern shell syntax and functionality, because they go to a lot of trouble to set up an environment where those are supported, via test-init.sh. t/README talks about this ("pr

[bug#59993] [PATCH v2 3/3] tests: Fix implicit function declaration in ax/depcomp.sh

2023-01-16 Thread Frederic Berat
I'm still investigating this failure. So far I could find 2 similar scenarios, both based on 1.16.5 with the patch, but one that fails, and the other that succeeds, seemingly consistently. Case 1: using the 1.16.5 tarball + the patch applied, automake is built and tested within fedora environment