diff --git a/tests/convenience.at b/tests/convenience.at
index f076e61..b97b5f3 100644
--- a/tests/convenience.at
+++ b/tests/convenience.at
@@ -231,6 +231,8 @@ AT_SETUP([Java convenience archives])
LT_AT_EXEC_TAG([GCJ])
AT_KEYWORDS([libtool])
+AT_CHECK([exit 77])
+
cat >foo1.java <<EOF
public class foo1 {
public static void main(String[[]] argv) {