1 # -*-perl-*- 2 3 $description = 'Test the $(shell ...) function.'; 4 5 $details = ''; 6 7 8 # Test shells inside rules. 9 run_make_test('.PHONY: all 10 all: ; @echo $(shell echo hi) 11 ','','hi'); 12 13 14 # Test shells inside exported environment variables. 15 # This is the test that fails if we try to put make exported variables into 16 # the environment for a $(shell ...) call. 17 run_make_test(' 18 export HI = $(shell echo hi) 19 .PHONY: all 20 all: ; @echo $$HI 21 ','','hi'); 22 23 1; 24