null+****@clear*****
null+****@clear*****
2012年 6月 19日 (火) 10:12:00 JST
Haruka Yoshihara 2012-06-19 10:12:00 +0900 (Tue, 19 Jun 2012) New Revision: 2fa61fd7ccf0463c70a1fbb25c6b9d6d29cd9eea https://github.com/groonga/groonga/commit/2fa61fd7ccf0463c70a1fbb25c6b9d6d29cd9eea Log: test: simplify arguments parsing Modified files: test/function/run-test.sh Modified: test/function/run-test.sh (+3 -4) =================================================================== --- test/function/run-test.sh 2012-06-18 18:46:15 +0900 (17574ef) +++ test/function/run-test.sh 2012-06-19 10:12:00 +0900 (0924837) @@ -60,24 +60,23 @@ next_argument_is_long_option_value="false" for argument in "$@"; do case "$argument" in --*=*) - next_argument_is_long_option_value="false" ;; --keep-database|--no-*|--version|--help) - next_argument_is_long_option_value="false" + # no argument options ;; --*) next_argument_is_long_option_value="true" + continue ;; -*) - next_argument_is_long_option_value="false" ;; *) if test "$next_argument_is_long_option_value" != "true"; then have_targets="true" fi - next_argument_is_long_option_value="false" ;; esac + next_argument_is_long_option_value="false" done grntest_options=("$@") -------------- next part -------------- HTML$B$NE:IU%U%!%$%k$rJ]4I$7$^$7$?(B...Download