Tests of module 'math' in C++ mode.
[pspp] / tests / test-xalloc-die.sh
index 28cce6d36839eae8666d2faeb80bc41b0f0e3b05..80d6208d030c1f5b809d5b72ec8a78340bf18e11 100755 (executable)
@@ -1,6 +1,6 @@
 #!/bin/sh
 # Test suite for xalloc_die.
-# Copyright (C) 2009 Free Software Foundation, Inc.
+# Copyright (C) 2009, 2010 Free Software Foundation, Inc.
 # This file is part of the GNUlib Library.
 #
 # This program is free software: you can redistribute it and/or modify
@@ -16,9 +16,9 @@
 # You should have received a copy of the GNU General Public License
 # along with this program.  If not, see <http://www.gnu.org/licenses/>.
 
-. "${srcdir=.}/init.sh" --set-path=.
+. "${srcdir=.}/init.sh"; path_prepend_ .
 
-test-xalloc-die 2> err > out
+test-xalloc-die${EXEEXT} 2> err > out
 case $? in
   1) ;;
   *) Exit 1;;