summaryrefslogtreecommitdiff
path: root/shell/ash_test/ash-misc/empty_args.tests
diff options
context:
space:
mode:
authorDenys Vlasenko2017-07-24 18:51:40 +0200
committerDenys Vlasenko2017-07-24 18:51:40 +0200
commitca50caacad8354fe97eb0da23075521156c0c0d6 (patch)
tree25ac13df95cea6f1fc8cb3fe96dbe6101b48a250 /shell/ash_test/ash-misc/empty_args.tests
parentb920a38dc0a87f5884444d4731a8b887b5e16018 (diff)
downloadbusybox-ca50caacad8354fe97eb0da23075521156c0c0d6.zip
busybox-ca50caacad8354fe97eb0da23075521156c0c0d6.tar.gz
shell: some additions to *sh-misc/* tests
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'shell/ash_test/ash-misc/empty_args.tests')
-rwxr-xr-xshell/ash_test/ash-misc/empty_args.tests9
1 files changed, 9 insertions, 0 deletions
diff --git a/shell/ash_test/ash-misc/empty_args.tests b/shell/ash_test/ash-misc/empty_args.tests
new file mode 100755
index 0000000..efce549
--- /dev/null
+++ b/shell/ash_test/ash-misc/empty_args.tests
@@ -0,0 +1,9 @@
+echo Null 0th arg:
+""
+echo $?
+echo Null 1st arg:
+# printf without args would print usage info
+printf ""
+echo $?
+echo Null arg in exec:
+exec printf ""