summaryrefslogtreecommitdiff
path: root/t/distcheck-pr18286.sh
diff options
context:
space:
mode:
Diffstat (limited to 't/distcheck-pr18286.sh')
-rw-r--r--t/distcheck-pr18286.sh8
1 files changed, 8 insertions, 0 deletions
diff --git a/t/distcheck-pr18286.sh b/t/distcheck-pr18286.sh
index b10773579..fe8961287 100644
--- a/t/distcheck-pr18286.sh
+++ b/t/distcheck-pr18286.sh
@@ -57,6 +57,14 @@ $AUTOMAKE -a
$MAKE check
+# Oops, we failed to distribute some required files!
run_make -e FAIL -M distcheck
+$FGREP '../../test_data.txt' output
+
+# But if we distribute them, everything will be OK.
+echo 'EXTRA_DIST = test_data.txt gen-testdata.sh' >> Makefile.am
+
+using_gmake || $MAKE Makefile
+$MAKE distcheck
: