#! /bin/sh
-# Copyright (C) 2010 Free Software Foundation, Inc.
+# Copyright (C) 2010-2012 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
# You should have received a copy of the GNU General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>.
-# Make sure `compile' searches libraries correctly
+# Make sure 'compile' searches libraries correctly
-required=xsi-shell
+am_create_testdir=empty
+required=xsi-lib-shell
. ./defs || Exit 1
-set -e
-
-cp "$testsrcdir/../lib/compile" .
+get_shell_script compile
# Use a dummy cl, since cl isn't readily available on all systems
cat >cl <<'END'