From 341312cc57eba0a1888b3dc89510894e3e7e42c9 Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Mon, 27 Sep 2004 18:09:52 +0000 Subject: bugfix for exported pattern-specific variables --- tests/scripts/features/patspecific_vars | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'tests/scripts/features') diff --git a/tests/scripts/features/patspecific_vars b/tests/scripts/features/patspecific_vars index 9ace5c4..74de9bb 100644 --- a/tests/scripts/features/patspecific_vars +++ b/tests/scripts/features/patspecific_vars @@ -61,4 +61,13 @@ $answer = "baz: foo two baz\nfour.x: foo two baz\n"; $answer = "aaa bbb\nccc ddd\n"; &compare_output($answer,&get_logfile(1)); +# TEST #5 -- test pattern-specific exported variables +# +run_make_test(' +/%: export foo := foo + +/bar: + @test "$(foo)" == "$$foo" +', '', ''); + 1; -- cgit v1.2.3