xref: /freebsd/contrib/bmake/unit-tests/varname-empty.exp (revision f15e18a642cb3f7ebc747f8e9cdf11274140107d)
1Var_Parse: ${:U} with VARE_WANTRES
2Applying ${:U} to "" (VARE_WANTRES, none, VES_UNDEF)
3Result of ${:U} is "" (VARE_WANTRES, none, VES_DEF)
4Var_Set("${:U}", "cmdline-u", ...) name expands to empty string - ignored
5Var_Set("", "cmdline-plain", ...) name expands to empty string - ignored
6Global:.CURDIR = <curdir>
7Var_Parse: ${MAKE_OBJDIR_CHECK_WRITABLE:U} with VARE_WANTRES
8Applying ${MAKE_OBJDIR_CHECK_WRITABLE:U} to "" (VARE_WANTRES, none, VES_UNDEF)
9Result of ${MAKE_OBJDIR_CHECK_WRITABLE:U} is "" (VARE_WANTRES, none, VES_DEF)
10Global:.OBJDIR = <curdir>
11Global:delete .PATH (not found)
12Global:.PATH = .
13Global:.PATH = . <curdir>
14Global:.TARGETS =
15Internal:MAKEFILE = varname-empty.mk
16Global:.MAKE.MAKEFILES = varname-empty.mk
17Global:.PARSEFILE = varname-empty.mk
18Global:delete .INCLUDEDFROMDIR (not found)
19Global:delete .INCLUDEDFROMFILE (not found)
20Var_Set("", "default", ...) name expands to empty string - ignored
21Var_Set("", "assigned", ...) name expands to empty string - ignored
22SetVar: variable name is empty - ignored
23Var_Set("", "", ...) name expands to empty string - ignored
24Var_Set("", "subst", ...) name expands to empty string - ignored
25Var_Set("", "shell-output", ...) name expands to empty string - ignored
26Var_Parse: ${:Ufallback} != "fallback" with VARE_UNDEFERR|VARE_WANTRES
27Applying ${:U...} to "" (VARE_UNDEFERR|VARE_WANTRES, none, VES_UNDEF)
28Result of ${:Ufallback} is "fallback" (VARE_UNDEFERR|VARE_WANTRES, none, VES_DEF)
29Var_Parse: ${:U} with VARE_WANTRES
30Applying ${:U} to "" (VARE_WANTRES, none, VES_UNDEF)
31Result of ${:U} is "" (VARE_WANTRES, none, VES_DEF)
32Var_Set("${:U}", "assigned indirectly", ...) name expands to empty string - ignored
33Var_Parse: ${:Ufallback} != "fallback" with VARE_UNDEFERR|VARE_WANTRES
34Applying ${:U...} to "" (VARE_UNDEFERR|VARE_WANTRES, none, VES_UNDEF)
35Result of ${:Ufallback} is "fallback" (VARE_UNDEFERR|VARE_WANTRES, none, VES_DEF)
36Var_Parse: ${:U} with VARE_WANTRES
37Applying ${:U} to "" (VARE_WANTRES, none, VES_UNDEF)
38Result of ${:U} is "" (VARE_WANTRES, none, VES_DEF)
39Var_Append("${:U}", "appended indirectly", ...) name expands to empty string - ignored
40Var_Parse: ${:Ufallback} != "fallback" with VARE_UNDEFERR|VARE_WANTRES
41Applying ${:U...} to "" (VARE_UNDEFERR|VARE_WANTRES, none, VES_UNDEF)
42Result of ${:Ufallback} is "fallback" (VARE_UNDEFERR|VARE_WANTRES, none, VES_DEF)
43Global:.MAKEFLAGS =  -r -d v -d
44Global:.MAKEFLAGS =  -r -d v -d 0
45out: fallback
46out: 1 2 3
47exit status 0
48