[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [platform-testers] new snapshot available: coreutils-8.27.99-3ebdc3
From: |
Assaf Gordon |
Subject: |
Re: [platform-testers] new snapshot available: coreutils-8.27.99-3ebdc3 |
Date: |
Tue, 29 Aug 2017 11:46:56 -0600 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.2.1 |
On 29/08/17 11:26 AM, Pádraig Brady wrote:
> On 29/08/17 10:12, Assaf Gordon wrote:
>> 2.
>> On OpenBSD 6.1, FreeBSD 11p1,
>> "tests/ln/sf-1" fails with "argument list too long".
>
> Oh is the $((1024*1024)) not working on the BSDs?
> That construct is used elsewhere in tests?
>
Just got results from Mac OS X, which also fail with
"argument list too long", but the log is more helpful:
======
+name_max='*'
+name_limit=1048576
+test '*' -lt 1048576
./tests/ln/sf-1.sh: line 39: test: *: integer expression expected
+name_max=1048576
++expr 1048576 + 1
+name_max_plus1=1048577
+test 1048577 -gt 1
++printf '%0*d' 1048577 0
+long_name=000000000000000000000000000000000000000000000
+for f in ''\'''\''' f
+ln -s missing ENOENT_link
+ln -s a/b ENOTDIR_link
+ln -s ELOOP_link ELOOP_link
+ln -s 0000000000000000000000000000000000000000000000000ENAMETOOLONG_link
./tests/ln/sf-1.sh: line 48:
/var/folders/my/m6ynh3bn6tq06h7xr3js0z7r0000gn/T/coreutils-8.27.99-3ebdc3.XXXXXX.X6qm6ILK/coreutils-8.27.99-3ebdc3/./src/ln:
Argument list too long
+fail=1
+for f in ''\'''\''' f
+ln -sf missing ENOENT_link
+ln -sf a/b ENOTDIR_link
+ln -sf ELOOP_link ELOOP_link
+ln -sf 0000000000000000000000000ENAMETOOLONG_link
./tests/ln/sf-1.sh: line 48:
/var/folders/my/m6ynh3bn6tq06h7xr3js0z7r0000gn/T/coreutils-8.27.99-3ebdc3.XXXXXX.X6qm6ILK/coreutils-8.27.99-3ebdc3/./src/ln:
Argument list too long
+fail=1
=======
(I trimmed the "0000...." filename for this email).
Seems like test doesn't like '*' as first argument.
Verified with OpenBSD:
$ test '*' -lt 1
ksh: *: unexpected `*'
And FreeBSD:
$ test '*' -lt 1
test: *: bad number
$ echo $SHELL
/bin/sh
-assaf
Re: [platform-testers] new snapshot available: coreutils-8.27.99-3ebdc3, Pádraig Brady, 2017/08/30
Re: [platform-testers] new snapshot available: coreutils-8.27.99-3ebdc3, Pádraig Brady, 2017/08/30
Re: [platform-testers] new snapshot available: coreutils-8.27.99-3ebdc3, Assaf Gordon, 2017/08/29