From f37eb3999bce2ea46fef0214e33279b81609e596 Mon Sep 17 00:00:00 2001 From: Denys Vlasenko Date: Sun, 18 Oct 2009 11:46:35 +0200 Subject: hush: fix handling of empty arguments function old new delta builtin_exec 25 83 +58 parse_stream 2242 2261 +19 run_pipe 1782 1787 +5 static.pseudo_null_str - 3 +3 ------------------------------------------------------------------------------ (add/remove: 1/0 grow/shrink: 3/0 up/down: 85/0) Total: 85 bytes Signed-off-by: Denys Vlasenko --- shell/hush_test/hush-misc/empty_args.right | 6 ++++++ 1 file changed, 6 insertions(+) create mode 100644 shell/hush_test/hush-misc/empty_args.right (limited to 'shell/hush_test/hush-misc/empty_args.right') diff --git a/shell/hush_test/hush-misc/empty_args.right b/shell/hush_test/hush-misc/empty_args.right new file mode 100644 index 000000000..38ed8b8be --- /dev/null +++ b/shell/hush_test/hush-misc/empty_args.right @@ -0,0 +1,6 @@ +Null 0th arg: +hush: can't execute '': No such file or directory +127 +Null 1st arg: +0 +Null arg in exec: -- cgit v1.2.3