summaryrefslogtreecommitdiffhomepage
path: root/testsuite/false
diff options
context:
space:
mode:
Diffstat (limited to 'testsuite/false')
-rw-r--r--testsuite/false/false-is-silent1
-rw-r--r--testsuite/false/false-returns-failure5
2 files changed, 6 insertions, 0 deletions
diff --git a/testsuite/false/false-is-silent b/testsuite/false/false-is-silent
new file mode 100644
index 000000000..8a9aa0c7f
--- /dev/null
+++ b/testsuite/false/false-is-silent
@@ -0,0 +1 @@
+busybox false 2>&1 | cmp - /dev/null
diff --git a/testsuite/false/false-returns-failure b/testsuite/false/false-returns-failure
new file mode 100644
index 000000000..30ee2997f
--- /dev/null
+++ b/testsuite/false/false-returns-failure
@@ -0,0 +1,5 @@
+if busybox false; then
+ return 1
+else
+ return 0
+fi