Commit 5bd8743f authored by Edward Z. Yang's avatar Edward Z. Yang
Browse files

Add test to check stack is not executable, to prevent #703 regressions.

Signed-off-by: Edward Z. Yang's avatarEdward Z. Yang <>
parent 504c0af3
......@@ -544,3 +544,9 @@ T6037:
.PHONY: T703
$(RM) -rf T703
[ ! -d T703 ]
"$(TEST_HC)" $(TEST_HC_OPTS) --make T703.hs -v0
! readelf -W -l T703 2>/dev/null | grep 'GNU_STACK' | grep -q 'RWE'
......@@ -377,3 +377,4 @@ test('T2507',
['$MAKE -s --no-print-directory T2507'])
test('T702', normal, run_command, ['$MAKE -s --no-print-directory T703'])
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment