summaryrefslogtreecommitdiff
path: root/tests/install/trap
diff options
context:
space:
mode:
Diffstat (limited to 'tests/install/trap')
-rwxr-xr-xtests/install/trap8
1 files changed, 2 insertions, 6 deletions
diff --git a/tests/install/trap b/tests/install/trap
index d71bd4a01..3092e9249 100755
--- a/tests/install/trap
+++ b/tests/install/trap
@@ -17,12 +17,8 @@
# You should have received a copy of the GNU General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>.
-if test "$VERBOSE" = yes; then
- set -x
- ginstall --version
-fi
-
-. $srcdir/test-lib.sh
+. "${srcdir=.}/init.sh"; path_prepend_ ../src
+test "$VERBOSE" = yes && ginstall --version
# Use a subshell and an exec to work around a bug in FreeBSD 5.0 /bin/sh.