1 --- main.c~ 2011-07-07 18:15:26.961632040 +0100
2 +++ main.c 2011-07-07 18:15:50.664694256 +0100
7 - env_file = substitute(substitute("${ENV:-" MKSHRC_PATH "}", 0),
9 + env_file = substitute("${ENV}", 0);
10 if (*env_file != '\0')
11 include(env_file, 0, NULL, 1);
13 + env_file = substitute(MKSHRC_PATH, DOTILDE);
14 + include("/etc/mkshrc", 0, NULL, 1);
15 + include(env_file, 0, NULL, 1);
20 --- check.t~ 2011-07-07 09:55:26.802497928 +0100
21 +++ check.t 2011-07-07 09:55:31.859107570 +0100
22 @@ -5908,13 +5908,13 @@
23 Ensure ±U on the command line is honoured
24 (this test may pass falsely depending on CPPFLAGS)
27 - code='if [[ $- = *U* ]]; then echo $i on; else echo $i off; fi'
28 - let i++; "$__progname" -U -c "$code"
29 - let i++; "$__progname" +U -c "$code"
30 - let i++; "$__progname" -U -ic "$code"
31 - let i++; "$__progname" +U -ic "$code"
34 + code='if [[ $- = *U* ]]; then echo $iter on; else echo $iter off; fi'
35 + let iter++; "$__progname" -U -c "$code"
36 + let iter++; "$__progname" +U -c "$code"
37 + let iter++; "$__progname" -U -ic "$code"
38 + let iter++; "$__progname" +U -ic "$code"
39 + echo $((++iter)) done