diff options
author | June McEnroe <june@causal.agency> | 2020-03-09 04:03:18 -0400 |
---|---|---|
committer | June McEnroe <june@causal.agency> | 2020-03-09 04:03:18 -0400 |
commit | 91f06c38c1dd8fd7c8f71637128faf6dbc9b460e (patch) | |
tree | c0fcfa39de48a902b1ebcfa9877c28235d040e2d /bin/1sh/tests/builtins/builtin1.0 | |
parent | Import /usr/src/bin/sh from FreeBSD 12.1-RELEASE (diff) | |
download | src-91f06c38c1dd8fd7c8f71637128faf6dbc9b460e.tar.gz src-91f06c38c1dd8fd7c8f71637128faf6dbc9b460e.zip |
Remove extraneous files from sh sources
Diffstat (limited to '')
-rw-r--r-- | bin/1sh/tests/builtins/builtin1.0 | 31 |
1 files changed, 0 insertions, 31 deletions
diff --git a/bin/1sh/tests/builtins/builtin1.0 b/bin/1sh/tests/builtins/builtin1.0 deleted file mode 100644 index 8c997721..00000000 --- a/bin/1sh/tests/builtins/builtin1.0 +++ /dev/null @@ -1,31 +0,0 @@ -# $FreeBSD: releng/12.1/bin/sh/tests/builtins/builtin1.0 201431 2010-01-03 15:01:38Z jilles $ - -failures=0 - -check() { - if ! eval "[ $* ]"; then - echo "Failed: $*" - : $((failures += 1)) - fi -} - -builtin : || echo "Bad return code at $LINENO" -builtin true || echo "Bad return code at $LINENO" -builtin ls 2>/dev/null && echo "Bad return code at $LINENO" -check '"$(builtin pwd)" = "$(pwd)"' -check '-z "$(builtin :)"' -check '-z "$(builtin true)"' -check '-z "$( (builtin nosuchtool) 2>/dev/null)"' -check '-z "$(builtin nosuchtool 2>/dev/null)"' -check '-z "$(builtin nosuchtool 2>/dev/null; :)"' -check '-z "$( (builtin ls) 2>/dev/null)"' -check '-z "$(builtin ls 2>/dev/null)"' -check '-z "$(builtin ls 2>/dev/null; :)"' -check '-n "$( (builtin nosuchtool) 2>&1)"' -check '-n "$(builtin nosuchtool 2>&1)"' -check '-n "$(builtin nosuchtool 2>&1; :)"' -check '-n "$( (builtin ls) 2>&1)"' -check '-n "$(builtin ls 2>&1)"' -check '-n "$(builtin ls 2>&1; :)"' - -exit $((failures > 0)) |