NetBSD/tests/bin
kre 23edd9e279 Adjust the tilde expansion test to deal with (very) recent changes
to what the shell produces for tilde expansions, when the expansion
of the tilde prefix ends with '/' and the character immediately following
is another '/' - previously /bin/sh (and most other shells, but not all)
retained both slashes, and this test expected that behaviour.

No longer, now only one of the two will appear.  Adjust the expected
test results accordingly, and add an extra loop iteration to make sure
this is thoroughly tested (one more tilde expansion value).

Also, add two new test cases that test for the new (explicit - though
it was always stated this way, but not as explicitly) that if HOME is
an empty string (not unset - that remains an unspecified case, as it
was) then the expansion of ~ must generate "", and not nothing.
The current test was unable to distinguish those two, since it
simply looked for characters in the output, so add a new test cases
explicitly to test for this particular case.   This also means (also
previously in the standard, but not as explicitly) that shells are
not permitted to decide "The ~ expansion produces an empty string, that
is weird, let's generate something else instead" which some shells were
doing.
2023-03-06 05:54:54 +00:00
..
cat
cp
date Update the test a little so that is possible to pass 2020-10-30 22:03:35 +00:00
dd tests/dd: add more test cases for swapping bytes 2022-05-24 21:42:37 +00:00
df adjust the number of spaces to match the current df(1) output. 2020-08-23 15:51:30 +00:00
expr Add 3 more expr(1) ATF tests detecting overflow 2018-06-27 17:39:30 +00:00
pax
ps
sh Adjust the tilde expansion test to deal with (very) recent changes 2023-03-06 05:54:54 +00:00
sleep Add subtests to verify that both "sleep 0.2" and "sleep 0,2" work 2019-01-21 13:19:18 +00:00
tar Add base-256 test (Micha Gorny) 2018-11-30 00:53:41 +00:00
Makefile Add a check for the overflow noted in PR lib/46542. 2020-07-03 03:59:18 +00:00