#! /bin/sh
-# Copyright (C) 1998-2012 Free Software Foundation, Inc.
+# Copyright (C) 1998-2013 Free Software Foundation, Inc.
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# Check uninstallation of Java class files.
required=javac
-. ./defs || Exit 1
+. test-init.sh
cat >> configure.ac << 'END'
AC_OUTPUT
check_uninstallation()
{
- test ! -r $javadir/aClass.class
- test ! -r $javadir/bClass.class
- test ! -r $javadir/Zardoz.class
- test ! -r $javadir/Baz.class
- test ! -r $javadir/Baz2.class
+ test ! -e $javadir/aClass.class
+ test ! -e $javadir/bClass.class
+ test ! -e $javadir/Zardoz.class
+ test ! -e $javadir/Baz.class
+ test ! -e $javadir/Baz2.class
test -f $javadir/Foo.class
test -f $javadir/Bar.class
test -f $javadir/xClass.class