summary refs log tree commit diff
path: root/bin/cash/tests/invocation
diff options
context:
space:
mode:
authorJune McEnroe <june@causal.agency>2019-01-10 20:19:51 -0500
committerJune McEnroe <june@causal.agency>2019-01-10 20:19:51 -0500
commit9beeb46022fc1e0c6bc6bec029bb949df10a2c3d (patch)
tree7db75dd126879bea3f0d8762b2619e0bebcf2836 /bin/cash/tests/invocation
parentRemove funcs (diff)
downloadsrc-9beeb46022fc1e0c6bc6bec029bb949df10a2c3d.tar.gz
src-9beeb46022fc1e0c6bc6bec029bb949df10a2c3d.zip
Remove cash/tests
Diffstat (limited to 'bin/cash/tests/invocation')
-rw-r--r--bin/cash/tests/invocation/Makefile16
-rw-r--r--bin/cash/tests/invocation/sh-ac1.07
-rw-r--r--bin/cash/tests/invocation/sh-c-missing1.03
-rw-r--r--bin/cash/tests/invocation/sh-c1.04
-rw-r--r--bin/cash/tests/invocation/sh-ca1.07
-rw-r--r--bin/cash/tests/invocation/sh-fca1.07
6 files changed, 0 insertions, 44 deletions
diff --git a/bin/cash/tests/invocation/Makefile b/bin/cash/tests/invocation/Makefile
deleted file mode 100644
index ba80f792..00000000
--- a/bin/cash/tests/invocation/Makefile
+++ /dev/null
@@ -1,16 +0,0 @@
-# $FreeBSD: releng/12.0/bin/sh/tests/invocation/Makefile 322455 2017-08-13 14:36:10Z jilles $
-
-PACKAGE=	tests
-
-TESTSDIR=	${TESTSBASE}/bin/sh/${.CURDIR:T}
-
-.PATH: ${.CURDIR:H}
-ATF_TESTS_SH=	functional_test
-
-${PACKAGE}FILES+=	sh-ac1.0
-${PACKAGE}FILES+=	sh-c-missing1.0
-${PACKAGE}FILES+=	sh-c1.0
-${PACKAGE}FILES+=	sh-ca1.0
-${PACKAGE}FILES+=	sh-fca1.0
-
-.include <bsd.test.mk>
diff --git a/bin/cash/tests/invocation/sh-ac1.0 b/bin/cash/tests/invocation/sh-ac1.0
deleted file mode 100644
index 43c0f65b..00000000
--- a/bin/cash/tests/invocation/sh-ac1.0
+++ /dev/null
@@ -1,7 +0,0 @@
-# $FreeBSD: releng/12.0/bin/sh/tests/invocation/sh-ac1.0 322438 2017-08-12 19:17:48Z jilles $
-# Test that attached options before c are processed
-
-case `${SH} -ac 'echo $-:$0' moo` in
-*a*:moo) true ;;
-*) false ;;
-esac
diff --git a/bin/cash/tests/invocation/sh-c-missing1.0 b/bin/cash/tests/invocation/sh-c-missing1.0
deleted file mode 100644
index a712b61f..00000000
--- a/bin/cash/tests/invocation/sh-c-missing1.0
+++ /dev/null
@@ -1,3 +0,0 @@
-# $FreeBSD: releng/12.0/bin/sh/tests/invocation/sh-c-missing1.0 322455 2017-08-13 14:36:10Z jilles $
-
-! echo echo bad | ${SH} -c 2>/dev/null
diff --git a/bin/cash/tests/invocation/sh-c1.0 b/bin/cash/tests/invocation/sh-c1.0
deleted file mode 100644
index 66abdc94..00000000
--- a/bin/cash/tests/invocation/sh-c1.0
+++ /dev/null
@@ -1,4 +0,0 @@
-# $FreeBSD: releng/12.0/bin/sh/tests/invocation/sh-c1.0 322438 2017-08-12 19:17:48Z jilles $
-# Test that -c executes command_string with the given name and arg
-
-${SH} -c 'echo $0 $@' moo foo | grep -qx -- "moo foo"
diff --git a/bin/cash/tests/invocation/sh-ca1.0 b/bin/cash/tests/invocation/sh-ca1.0
deleted file mode 100644
index da3b85ff..00000000
--- a/bin/cash/tests/invocation/sh-ca1.0
+++ /dev/null
@@ -1,7 +0,0 @@
-# $FreeBSD: releng/12.0/bin/sh/tests/invocation/sh-ca1.0 322438 2017-08-12 19:17:48Z jilles $
-# Test that attached options after c are processed
-
-case `${SH} -ca 'echo $-:$0' moo` in
-*a*:moo) true ;;
-*) false ;;
-esac
diff --git a/bin/cash/tests/invocation/sh-fca1.0 b/bin/cash/tests/invocation/sh-fca1.0
deleted file mode 100644
index fab01f7f..00000000
--- a/bin/cash/tests/invocation/sh-fca1.0
+++ /dev/null
@@ -1,7 +0,0 @@
-# $FreeBSD: releng/12.0/bin/sh/tests/invocation/sh-fca1.0 322438 2017-08-12 19:17:48Z jilles $
-# Test that attached options before and after c are processed
-
-case `${SH} -fca 'echo $-:$-:$0:$@' foo -bar` in
-*f*:*a*:foo:-bar) true ;;
-*) false ;;
-esac