From d690f68554f1c1301975bc0ab0e479e6870b3589 Mon Sep 17 00:00:00 2001 From: Mike Frysinger Date: Mon, 30 Mar 2009 06:50:54 +0000 Subject: implement `unset` semantics as required by POSIX --- shell/hush_test/hush-vars/unset.right | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 shell/hush_test/hush-vars/unset.right (limited to 'shell/hush_test/hush-vars/unset.right') diff --git a/shell/hush_test/hush-vars/unset.right b/shell/hush_test/hush-vars/unset.right new file mode 100644 index 0000000..8dea7c4 --- /dev/null +++ b/shell/hush_test/hush-vars/unset.right @@ -0,0 +1,19 @@ +hush: unset: -: invalid option +1 +hush: unset: -m: invalid option +1 +0 +___ +0 f g +0 g +0 +___ +0 f g +0 +0 f g +0 +___ +hush: HUSH_VERSION: readonly variable +1 f g +hush: HUSH_VERSION: readonly variable +1 -- cgit v1.1