diff options
author | June McEnroe <june@causal.agency> | 2019-01-10 20:19:51 -0500 |
---|---|---|
committer | June McEnroe <june@causal.agency> | 2019-01-10 20:19:51 -0500 |
commit | 9beeb46022fc1e0c6bc6bec029bb949df10a2c3d (patch) | |
tree | 7db75dd126879bea3f0d8762b2619e0bebcf2836 /bin/cash/tests/set-e | |
parent | Remove funcs (diff) | |
download | src-9beeb46022fc1e0c6bc6bec029bb949df10a2c3d.tar.gz src-9beeb46022fc1e0c6bc6bec029bb949df10a2c3d.zip |
Remove cash/tests
Diffstat (limited to 'bin/cash/tests/set-e')
36 files changed, 0 insertions, 221 deletions
diff --git a/bin/cash/tests/set-e/Makefile b/bin/cash/tests/set-e/Makefile deleted file mode 100644 index c684777e..00000000 --- a/bin/cash/tests/set-e/Makefile +++ /dev/null @@ -1,46 +0,0 @@ -# $FreeBSD: releng/12.0/bin/sh/tests/set-e/Makefile 299094 2016-05-04 23:20:53Z ngie $ - -PACKAGE= tests - -TESTSDIR= ${TESTSBASE}/bin/sh/${.CURDIR:T} - -.PATH: ${.CURDIR:H} -ATF_TESTS_SH= functional_test - -${PACKAGE}FILES+= and1.0 -${PACKAGE}FILES+= and2.1 -${PACKAGE}FILES+= and3.0 -${PACKAGE}FILES+= and4.0 -${PACKAGE}FILES+= background1.0 -${PACKAGE}FILES+= cmd1.0 -${PACKAGE}FILES+= cmd2.1 -${PACKAGE}FILES+= elif1.0 -${PACKAGE}FILES+= elif2.0 -${PACKAGE}FILES+= eval1.0 -${PACKAGE}FILES+= eval2.1 -${PACKAGE}FILES+= for1.0 -${PACKAGE}FILES+= func1.0 -${PACKAGE}FILES+= func2.1 -${PACKAGE}FILES+= if1.0 -${PACKAGE}FILES+= if2.0 -${PACKAGE}FILES+= if3.0 -${PACKAGE}FILES+= not1.0 -${PACKAGE}FILES+= not2.0 -${PACKAGE}FILES+= or1.0 -${PACKAGE}FILES+= or2.0 -${PACKAGE}FILES+= or3.1 -${PACKAGE}FILES+= pipe1.1 -${PACKAGE}FILES+= pipe2.0 -${PACKAGE}FILES+= return1.0 -${PACKAGE}FILES+= semi1.1 -${PACKAGE}FILES+= semi2.1 -${PACKAGE}FILES+= subshell1.0 -${PACKAGE}FILES+= subshell2.1 -${PACKAGE}FILES+= until1.0 -${PACKAGE}FILES+= until2.0 -${PACKAGE}FILES+= until3.0 -${PACKAGE}FILES+= while1.0 -${PACKAGE}FILES+= while2.0 -${PACKAGE}FILES+= while3.0 - -.include <bsd.test.mk> diff --git a/bin/cash/tests/set-e/and1.0 b/bin/cash/tests/set-e/and1.0 deleted file mode 100644 index 084f86c1..00000000 --- a/bin/cash/tests/set-e/and1.0 +++ /dev/null @@ -1,3 +0,0 @@ -# $FreeBSD: releng/12.0/bin/sh/tests/set-e/and1.0 149781 2005-09-04 11:59:59Z stefanf $ -set -e -true && true diff --git a/bin/cash/tests/set-e/and2.1 b/bin/cash/tests/set-e/and2.1 deleted file mode 100644 index 2687642e..00000000 --- a/bin/cash/tests/set-e/and2.1 +++ /dev/null @@ -1,4 +0,0 @@ -# $FreeBSD: releng/12.0/bin/sh/tests/set-e/and2.1 149781 2005-09-04 11:59:59Z stefanf $ -set -e -true && false -exit 0 diff --git a/bin/cash/tests/set-e/and3.0 b/bin/cash/tests/set-e/and3.0 deleted file mode 100644 index 5640de6e..00000000 --- a/bin/cash/tests/set-e/and3.0 +++ /dev/null @@ -1,4 +0,0 @@ -# $FreeBSD: releng/12.0/bin/sh/tests/set-e/and3.0 149781 2005-09-04 11:59:59Z stefanf $ -set -e -false && true -exit 0 diff --git a/bin/cash/tests/set-e/and4.0 b/bin/cash/tests/set-e/and4.0 deleted file mode 100644 index b043af16..00000000 --- a/bin/cash/tests/set-e/and4.0 +++ /dev/null @@ -1,4 +0,0 @@ -# $FreeBSD: releng/12.0/bin/sh/tests/set-e/and4.0 149781 2005-09-04 11:59:59Z stefanf $ -set -e -false && false -exit 0 diff --git a/bin/cash/tests/set-e/background1.0 b/bin/cash/tests/set-e/background1.0 deleted file mode 100644 index c547bfb4..00000000 --- a/bin/cash/tests/set-e/background1.0 +++ /dev/null @@ -1,3 +0,0 @@ -# $FreeBSD: releng/12.0/bin/sh/tests/set-e/background1.0 149781 2005-09-04 11:59:59Z stefanf $ -set -e -false & diff --git a/bin/cash/tests/set-e/cmd1.0 b/bin/cash/tests/set-e/cmd1.0 deleted file mode 100644 index e49d7568..00000000 --- a/bin/cash/tests/set-e/cmd1.0 +++ /dev/null @@ -1,3 +0,0 @@ -# $FreeBSD: releng/12.0/bin/sh/tests/set-e/cmd1.0 149781 2005-09-04 11:59:59Z stefanf $ -set -e -true diff --git a/bin/cash/tests/set-e/cmd2.1 b/bin/cash/tests/set-e/cmd2.1 deleted file mode 100644 index a0f9ec7e..00000000 --- a/bin/cash/tests/set-e/cmd2.1 +++ /dev/null @@ -1,4 +0,0 @@ -# $FreeBSD: releng/12.0/bin/sh/tests/set-e/cmd2.1 149781 2005-09-04 11:59:59Z stefanf $ -set -e -false -exit 0 diff --git a/bin/cash/tests/set-e/elif1.0 b/bin/cash/tests/set-e/elif1.0 deleted file mode 100644 index 2f2200d5..00000000 --- a/bin/cash/tests/set-e/elif1.0 +++ /dev/null @@ -1,7 +0,0 @@ -# $FreeBSD: releng/12.0/bin/sh/tests/set-e/elif1.0 211399 2010-08-16 17:18:08Z jilles $ -set -e -if false; then - : -elif false; then - : -fi diff --git a/bin/cash/tests/set-e/elif2.0 b/bin/cash/tests/set-e/elif2.0 deleted file mode 100644 index d53486d3..00000000 --- a/bin/cash/tests/set-e/elif2.0 +++ /dev/null @@ -1,7 +0,0 @@ -# $FreeBSD: releng/12.0/bin/sh/tests/set-e/elif2.0 211399 2010-08-16 17:18:08Z jilles $ -set -e -if false; then - : -elif false; false; then - : -fi diff --git a/bin/cash/tests/set-e/eval1.0 b/bin/cash/tests/set-e/eval1.0 deleted file mode 100644 index 19585858..00000000 --- a/bin/cash/tests/set-e/eval1.0 +++ /dev/null @@ -1,3 +0,0 @@ -# $FreeBSD: releng/12.0/bin/sh/tests/set-e/eval1.0 193178 2009-05-31 17:23:27Z stefanf $ -set -e -eval false || true diff --git a/bin/cash/tests/set-e/eval2.1 b/bin/cash/tests/set-e/eval2.1 deleted file mode 100644 index 207f1476..00000000 --- a/bin/cash/tests/set-e/eval2.1 +++ /dev/null @@ -1,4 +0,0 @@ -# $FreeBSD: releng/12.0/bin/sh/tests/set-e/eval2.1 193178 2009-05-31 17:23:27Z stefanf $ -set -e -eval false -exit 0 diff --git a/bin/cash/tests/set-e/for1.0 b/bin/cash/tests/set-e/for1.0 deleted file mode 100644 index c76d03cc..00000000 --- a/bin/cash/tests/set-e/for1.0 +++ /dev/null @@ -1,9 +0,0 @@ -# $FreeBSD: releng/12.0/bin/sh/tests/set-e/for1.0 149791 2005-09-05 09:42:10Z stefanf $ -set -e -f() { - for i in a b c; do - false - true - done -} -f || true diff --git a/bin/cash/tests/set-e/func1.0 b/bin/cash/tests/set-e/func1.0 deleted file mode 100644 index 70ec9ce6..00000000 --- a/bin/cash/tests/set-e/func1.0 +++ /dev/null @@ -1,7 +0,0 @@ -# $FreeBSD: releng/12.0/bin/sh/tests/set-e/func1.0 149791 2005-09-05 09:42:10Z stefanf $ -set -e -f() { - false - true -} -f || true diff --git a/bin/cash/tests/set-e/func2.1 b/bin/cash/tests/set-e/func2.1 deleted file mode 100644 index f69dd197..00000000 --- a/bin/cash/tests/set-e/func2.1 +++ /dev/null @@ -1,7 +0,0 @@ -# $FreeBSD: releng/12.0/bin/sh/tests/set-e/func2.1 149791 2005-09-05 09:42:10Z stefanf $ -set -e -f() { - false - exit 0 -} -f diff --git a/bin/cash/tests/set-e/if1.0 b/bin/cash/tests/set-e/if1.0 deleted file mode 100644 index c4627037..00000000 --- a/bin/cash/tests/set-e/if1.0 +++ /dev/null @@ -1,5 +0,0 @@ -# $FreeBSD: releng/12.0/bin/sh/tests/set-e/if1.0 211399 2010-08-16 17:18:08Z jilles $ -set -e -if false; then - : -fi diff --git a/bin/cash/tests/set-e/if2.0 b/bin/cash/tests/set-e/if2.0 deleted file mode 100644 index 43df2e9b..00000000 --- a/bin/cash/tests/set-e/if2.0 +++ /dev/null @@ -1,7 +0,0 @@ -# $FreeBSD: releng/12.0/bin/sh/tests/set-e/if2.0 149781 2005-09-04 11:59:59Z stefanf $ -set -e -# PR 28852 -if true; then - false && true -fi -exit 0 diff --git a/bin/cash/tests/set-e/if3.0 b/bin/cash/tests/set-e/if3.0 deleted file mode 100644 index ccac10c3..00000000 --- a/bin/cash/tests/set-e/if3.0 +++ /dev/null @@ -1,5 +0,0 @@ -# $FreeBSD: releng/12.0/bin/sh/tests/set-e/if3.0 211399 2010-08-16 17:18:08Z jilles $ -set -e -if false; false; then - : -fi diff --git a/bin/cash/tests/set-e/not1.0 b/bin/cash/tests/set-e/not1.0 deleted file mode 100644 index 4d62e373..00000000 --- a/bin/cash/tests/set-e/not1.0 +++ /dev/null @@ -1,4 +0,0 @@ -# $FreeBSD: releng/12.0/bin/sh/tests/set-e/not1.0 149781 2005-09-04 11:59:59Z stefanf $ -set -e -! true -exit 0 diff --git a/bin/cash/tests/set-e/not2.0 b/bin/cash/tests/set-e/not2.0 deleted file mode 100644 index bf49130a..00000000 --- a/bin/cash/tests/set-e/not2.0 +++ /dev/null @@ -1,4 +0,0 @@ -# $FreeBSD: releng/12.0/bin/sh/tests/set-e/not2.0 193178 2009-05-31 17:23:27Z stefanf $ -set -e -! false -! eval false diff --git a/bin/cash/tests/set-e/or1.0 b/bin/cash/tests/set-e/or1.0 deleted file mode 100644 index e22f304f..00000000 --- a/bin/cash/tests/set-e/or1.0 +++ /dev/null @@ -1,3 +0,0 @@ -# $FreeBSD: releng/12.0/bin/sh/tests/set-e/or1.0 149781 2005-09-04 11:59:59Z stefanf $ -set -e -true || false diff --git a/bin/cash/tests/set-e/or2.0 b/bin/cash/tests/set-e/or2.0 deleted file mode 100644 index ed4351d1..00000000 --- a/bin/cash/tests/set-e/or2.0 +++ /dev/null @@ -1,3 +0,0 @@ -# $FreeBSD: releng/12.0/bin/sh/tests/set-e/or2.0 149781 2005-09-04 11:59:59Z stefanf $ -set -e -false || true diff --git a/bin/cash/tests/set-e/or3.1 b/bin/cash/tests/set-e/or3.1 deleted file mode 100644 index e23ae956..00000000 --- a/bin/cash/tests/set-e/or3.1 +++ /dev/null @@ -1,4 +0,0 @@ -# $FreeBSD: releng/12.0/bin/sh/tests/set-e/or3.1 149781 2005-09-04 11:59:59Z stefanf $ -set -e -false || false -exit 0 diff --git a/bin/cash/tests/set-e/pipe1.1 b/bin/cash/tests/set-e/pipe1.1 deleted file mode 100644 index 304befef..00000000 --- a/bin/cash/tests/set-e/pipe1.1 +++ /dev/null @@ -1,4 +0,0 @@ -# $FreeBSD: releng/12.0/bin/sh/tests/set-e/pipe1.1 149781 2005-09-04 11:59:59Z stefanf $ -set -e -true | false -exit 0 diff --git a/bin/cash/tests/set-e/pipe2.0 b/bin/cash/tests/set-e/pipe2.0 deleted file mode 100644 index f9e6f62b..00000000 --- a/bin/cash/tests/set-e/pipe2.0 +++ /dev/null @@ -1,3 +0,0 @@ -# $FreeBSD: releng/12.0/bin/sh/tests/set-e/pipe2.0 149781 2005-09-04 11:59:59Z stefanf $ -set -e -false | true diff --git a/bin/cash/tests/set-e/return1.0 b/bin/cash/tests/set-e/return1.0 deleted file mode 100644 index 60e28147..00000000 --- a/bin/cash/tests/set-e/return1.0 +++ /dev/null @@ -1,11 +0,0 @@ -# $FreeBSD: releng/12.0/bin/sh/tests/set-e/return1.0 149788 2005-09-04 21:29:09Z stefanf $ -set -e - -# PR 77067, 85267 -f() { - return 1 - true -} - -f || true -exit 0 diff --git a/bin/cash/tests/set-e/semi1.1 b/bin/cash/tests/set-e/semi1.1 deleted file mode 100644 index 582f6562..00000000 --- a/bin/cash/tests/set-e/semi1.1 +++ /dev/null @@ -1,4 +0,0 @@ -# $FreeBSD: releng/12.0/bin/sh/tests/set-e/semi1.1 149781 2005-09-04 11:59:59Z stefanf $ -set -e -false; true -exit 0 diff --git a/bin/cash/tests/set-e/semi2.1 b/bin/cash/tests/set-e/semi2.1 deleted file mode 100644 index 1fbad3b1..00000000 --- a/bin/cash/tests/set-e/semi2.1 +++ /dev/null @@ -1,4 +0,0 @@ -# $FreeBSD: releng/12.0/bin/sh/tests/set-e/semi2.1 149781 2005-09-04 11:59:59Z stefanf $ -set -e -true; false -exit 0 diff --git a/bin/cash/tests/set-e/subshell1.0 b/bin/cash/tests/set-e/subshell1.0 deleted file mode 100644 index 6282da91..00000000 --- a/bin/cash/tests/set-e/subshell1.0 +++ /dev/null @@ -1,3 +0,0 @@ -# $FreeBSD: releng/12.0/bin/sh/tests/set-e/subshell1.0 149781 2005-09-04 11:59:59Z stefanf $ -set -e -(true) diff --git a/bin/cash/tests/set-e/subshell2.1 b/bin/cash/tests/set-e/subshell2.1 deleted file mode 100644 index a58d68e6..00000000 --- a/bin/cash/tests/set-e/subshell2.1 +++ /dev/null @@ -1,4 +0,0 @@ -# $FreeBSD: releng/12.0/bin/sh/tests/set-e/subshell2.1 149781 2005-09-04 11:59:59Z stefanf $ -set -e -(false) -exit 0 diff --git a/bin/cash/tests/set-e/until1.0 b/bin/cash/tests/set-e/until1.0 deleted file mode 100644 index a3423d97..00000000 --- a/bin/cash/tests/set-e/until1.0 +++ /dev/null @@ -1,5 +0,0 @@ -# $FreeBSD: releng/12.0/bin/sh/tests/set-e/until1.0 149781 2005-09-04 11:59:59Z stefanf $ -set -e -until false; do - break -done diff --git a/bin/cash/tests/set-e/until2.0 b/bin/cash/tests/set-e/until2.0 deleted file mode 100644 index e4e2682f..00000000 --- a/bin/cash/tests/set-e/until2.0 +++ /dev/null @@ -1,5 +0,0 @@ -# $FreeBSD: releng/12.0/bin/sh/tests/set-e/until2.0 149781 2005-09-04 11:59:59Z stefanf $ -set -e -until false; false; do - break -done diff --git a/bin/cash/tests/set-e/until3.0 b/bin/cash/tests/set-e/until3.0 deleted file mode 100644 index 28990ad5..00000000 --- a/bin/cash/tests/set-e/until3.0 +++ /dev/null @@ -1,9 +0,0 @@ -# $FreeBSD: releng/12.0/bin/sh/tests/set-e/until3.0 149791 2005-09-05 09:42:10Z stefanf $ -set -e -f() { - until false; do - false - break - done -} -f || true diff --git a/bin/cash/tests/set-e/while1.0 b/bin/cash/tests/set-e/while1.0 deleted file mode 100644 index 81874529..00000000 --- a/bin/cash/tests/set-e/while1.0 +++ /dev/null @@ -1,5 +0,0 @@ -# $FreeBSD: releng/12.0/bin/sh/tests/set-e/while1.0 211399 2010-08-16 17:18:08Z jilles $ -set -e -while false; do - : -done diff --git a/bin/cash/tests/set-e/while2.0 b/bin/cash/tests/set-e/while2.0 deleted file mode 100644 index 66281fe6..00000000 --- a/bin/cash/tests/set-e/while2.0 +++ /dev/null @@ -1,5 +0,0 @@ -# $FreeBSD: releng/12.0/bin/sh/tests/set-e/while2.0 211399 2010-08-16 17:18:08Z jilles $ -set -e -while false; false; do - : -done diff --git a/bin/cash/tests/set-e/while3.0 b/bin/cash/tests/set-e/while3.0 deleted file mode 100644 index b165ef56..00000000 --- a/bin/cash/tests/set-e/while3.0 +++ /dev/null @@ -1,9 +0,0 @@ -# $FreeBSD: releng/12.0/bin/sh/tests/set-e/while3.0 149791 2005-09-05 09:42:10Z stefanf $ -set -e -f() { - while true; do - false - break - done -} -f || true |