#! /bin/sh
-# Copyright (C) 2011-2012 Free Software Foundation, Inc.
+# Copyright (C) 2011-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
# need sister tests for other primaries too? E.g., PROGRAMS, LISP,
# PYTHON, etc...
-. ./defs || exit 1
+. test-init.sh
cat >> configure.ac << 'END'
AC_OUTPUT
./configure --prefix="$(pwd)/inst"
$MAKE uninstall
-test ! -d inst
+test ! -e inst
rm -rf inst
$MAKE install-exec
test -f inst/bin/foo || exit 99 # Sanity check.
$MAKE uninstall
-test ! -f inst/bin/foo
+test ! -e inst/bin/foo
$MAKE install-data
test -f inst/share/bar || exit 99 # Sanity check.
$MAKE uninstall
-test ! -f inst/share/bar
+test ! -e inst/share/bar
rm -rf inst
$MAKE install-exec
test -f inst/bin/foo || exit 99 # Sanity check.
$MAKE uninstall
-test ! -f inst/bin/foo
+test ! -e inst/bin/foo
: