summaryrefslogtreecommitdiff
path: root/shell/ash_test/ash-misc/empty_args.tests
diff options
context:
space:
mode:
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 ""