2005-09-20 21:31:55 +08:00
|
|
|
Test 1 pass
|
|
|
|
Test 2 pass
|
|
|
|
Test 3 pass
|
|
|
|
Test 4 pass
|
|
|
|
Test 5 pass
|
|
|
|
Test 6 pass
|
|
|
|
Test 7 pass
|
|
|
|
Test 8 pass
|
|
|
|
Test 9 pass
|
2006-06-05 21:31:33 +08:00
|
|
|
Test 10 pass
|
2012-05-10 16:04:18 +08:00
|
|
|
Test 11 pass
|
2012-12-30 02:25:00 +08:00
|
|
|
Test 12 pass
|
|
|
|
Test 13 pass
|
|
|
|
Test 14 pass
|
|
|
|
Test 15 pass
|
2015-02-04 08:13:02 +08:00
|
|
|
Foo change detected
|
|
|
|
Foo change detected
|
2017-07-04 06:21:42 +08:00
|
|
|
count:5 content:[functionblock function global universal blocklocal]
|
2012-12-30 02:25:00 +08:00
|
|
|
Test 16 pass
|
2015-06-13 07:05:59 +08:00
|
|
|
__fish_test_env17=UNSHADOWED
|
|
|
|
SHADOWED
|
2017-06-21 22:53:50 +08:00
|
|
|
__fish_test_env17=UNSHADOWED
|
2017-06-21 22:56:46 +08:00
|
|
|
wuwuwu
|
|
|
|
boo
|
|
|
|
wuwuwu
|
2017-06-22 17:11:12 +08:00
|
|
|
foo
|
|
|
|
bar
|
|
|
|
bar
|
2014-07-07 08:57:23 +08:00
|
|
|
Testing Universal Startup
|
|
|
|
1
|
|
|
|
1
|
|
|
|
2
|
|
|
|
2
|
2017-07-04 06:21:42 +08:00
|
|
|
testu undef in top level shell
|
|
|
|
testu undef in sub shell
|
2017-10-15 19:37:34 +08:00
|
|
|
SHLVL: 1
|
|
|
|
SHLVL: 2
|
|
|
|
SHLVL: 1
|
|
|
|
SHLVL: 1
|
|
|
|
SHLVL: 1
|
|
|
|
SHLVL: 4
|
|
|
|
SHLVL: 4
|
2014-10-08 09:51:49 +08:00
|
|
|
Elements in DISPLAY: 1
|
2018-09-10 09:32:15 +08:00
|
|
|
Elements in FOO and FOOPATH: 1 4
|
2014-10-13 06:01:35 +08:00
|
|
|
MANPATH=man1:man2:man3
|
2018-09-10 09:32:15 +08:00
|
|
|
DONT_ESCAPE_COLONS=1: 2: :3:
|
2018-10-01 07:34:01 +08:00
|
|
|
DONT_ESCAPE_SPACES=1 2 3 4
|
|
|
|
DONT_ESCAPE_COLONS_PATH=1::2:::3:
|
2018-10-22 15:49:09 +08:00
|
|
|
|
|
|
|
####################
|
|
|
|
# Path universal variables
|
2018-10-28 06:20:32 +08:00
|
|
|
a b c 1:2:3 a b c 1 2 3
|
|
|
|
a b c 1 2 3 a b c 1 2 3
|
|
|
|
a:b:c 1 2 3 a b c 1 2 3
|
|
|
|
a:b:c 1:2:3 a b c 1 2 3
|
|
|
|
1:2:3 1 2 3
|
|
|
|
a:b a b
|
2019-04-09 20:10:51 +08:00
|
|
|
|
|
|
|
####################
|
|
|
|
# Variable names in other commands
|
2019-05-26 08:15:50 +08:00
|
|
|
|
|
|
|
####################
|
|
|
|
# Global vs Universal Unspecified Scopes
|
|
|
|
global-vs-universal 1: universal
|
|
|
|
global-vs-universal 2: global
|
|
|
|
global-vs-universal 3: global2
|
|
|
|
global-vs-universal 4: universal
|
|
|
|
global-vs-universal 5:
|