From 82dfec3e4e6d2b8354d901a525f9acff35369512 Mon Sep 17 00:00:00 2001 From: Denis Vlasenko Date: Mon, 16 Jun 2008 12:47:11 +0000 Subject: hush: fix hush-bugs/glob_and_vars.tests testcase: globbing is now done _after_ variable/`cmd` substitution function old new delta expand_strvec_to_strvec 7 353 +346 expand_variables 1348 1383 +35 add_string_to_strings - 28 +28 globhack 114 - -114 done_word 778 579 -199 ------------------------------------------------------------------------------ (add/remove: 1/1 grow/shrink: 2/1 up/down: 409/-313) Total: 96 bytes --- shell/hush_test/hush-vars/glob_and_vars.right | 1 + shell/hush_test/hush-vars/glob_and_vars.tests | 2 ++ 2 files changed, 3 insertions(+) create mode 100644 shell/hush_test/hush-vars/glob_and_vars.right create mode 100755 shell/hush_test/hush-vars/glob_and_vars.tests (limited to 'shell/hush_test/hush-vars') diff --git a/shell/hush_test/hush-vars/glob_and_vars.right b/shell/hush_test/hush-vars/glob_and_vars.right new file mode 100644 index 000000000..3ac7ec5ff --- /dev/null +++ b/shell/hush_test/hush-vars/glob_and_vars.right @@ -0,0 +1 @@ +./glob_and_vars.right ./glob_and_vars.tests diff --git a/shell/hush_test/hush-vars/glob_and_vars.tests b/shell/hush_test/hush-vars/glob_and_vars.tests new file mode 100755 index 000000000..482cf9d8a --- /dev/null +++ b/shell/hush_test/hush-vars/glob_and_vars.tests @@ -0,0 +1,2 @@ +v=. +echo $v/glob_and_vars.[tr]* -- cgit v1.2.3