summaryrefslogtreecommitdiff
path: root/tests/scripts/options/dash-q
diff options
context:
space:
mode:
Diffstat (limited to 'tests/scripts/options/dash-q')
-rw-r--r--tests/scripts/options/dash-q9
1 files changed, 9 insertions, 0 deletions
diff --git a/tests/scripts/options/dash-q b/tests/scripts/options/dash-q
index 194588d9..e67b55d4 100644
--- a/tests/scripts/options/dash-q
+++ b/tests/scripts/options/dash-q
@@ -74,4 +74,13 @@ build-y: build-x
',
'-q build-y', "#MAKE#: *** No rule to make target 'build-stamp-2', needed by 'build-arch'. Stop.\n", 512);
+# TEST 9 : Savannah bug # 47151
+# Make sure we exit with 1 when invoking a recursive make
+run_make_test('
+foo: bar ; echo foo
+bar: ; @$(MAKE) -f #MAKEFILE# baz
+baz: ; echo baz
+',
+ '-q foo', '', 256);
+
1;