summaryrefslogtreecommitdiff
path: root/tests/badopt.test
diff options
context:
space:
mode:
authorTom Tromey <tromey@redhat.com>1998-03-25 22:42:12 +0000
committerTom Tromey <tromey@redhat.com>1998-03-25 22:42:12 +0000
commit663ab7c8ebb111eb9905c6e7a8205fad4d43a552 (patch)
treef053ce2b682ecfacc6fcf6421a38c23e2ea702be /tests/badopt.test
parent972f074171ead8a5529c8e9da2e35a071446f15d (diff)
downloadautomake-663ab7c8ebb111eb9905c6e7a8205fad4d43a552.tar.gz
fixed bugs with versions in AUTOMAKE_OPTIONS
Diffstat (limited to 'tests/badopt.test')
-rwxr-xr-xtests/badopt.test12
1 files changed, 12 insertions, 0 deletions
diff --git a/tests/badopt.test b/tests/badopt.test
new file mode 100755
index 000000000..8a5b88643
--- /dev/null
+++ b/tests/badopt.test
@@ -0,0 +1,12 @@
+#! /bin/sh
+
+# Test to make sure bad options cause error.
+
+. $srcdir/defs || exit 1
+
+cat > Makefile.am << 'END'
+AUTOMAKE_OPTIONS = zardoz
+END
+
+$AUTOMAKE && exit 1
+exit 0