Re: [PATCH 1/2] test-framework-sh: port to NetBSD 7.0

2016-03-25 Thread Jim Meyering
On Fri, Mar 25, 2016 at 1:01 PM, Paul Eggert wrote: > On 03/25/2016 08:16 AM, Jim Meyering wrote: >> >> I know that mktemp's -t is not portable, but the code in >> init.sh was supposed to work around that. Did you see >> some place where that work-around failed? > > Ah, sorry, I misinterpreted the

Re: [PATCH 1/2] test-framework-sh: port to NetBSD 7.0

2016-03-25 Thread Paul Eggert
On 03/25/2016 08:16 AM, Jim Meyering wrote: I know that mktemp's -t is not portable, but the code in init.sh was supposed to work around that. Did you see some place where that work-around failed? Ah, sorry, I misinterpreted the debugging output. I saw a 'fail=1' and thought, "Oh, the script i

Re: [PATCH 1/2] test-framework-sh: port to NetBSD 7.0

2016-03-25 Thread Jim Meyering
On Fri, Mar 25, 2016 at 12:20 AM, Paul Eggert wrote: > Problem reported by Assaf Gordon in: http://bugs.gnu.org/23107#13 > * tests/init.sh (testdir_prefix_, pfx_, template_length_): > Remove. All uses removed. > (test_dir_): Adjust to mktempd_ change. > (mktempd_): Omit 2nd arg. Stop using -t, a

[PATCH 1/2] test-framework-sh: port to NetBSD 7.0

2016-03-25 Thread Paul Eggert
Problem reported by Assaf Gordon in: http://bugs.gnu.org/23107#13 * tests/init.sh (testdir_prefix_, pfx_, template_length_): Remove. All uses removed. (test_dir_): Adjust to mktempd_ change. (mktempd_): Omit 2nd arg. Stop using -t, as it is not portable. (base_template_, template_, nx_): Simplify