summaryrefslogtreecommitdiff
path: root/tests/misc/nice-fail
diff options
context:
space:
mode:
Diffstat (limited to 'tests/misc/nice-fail')
-rwxr-xr-xtests/misc/nice-fail8
1 files changed, 2 insertions, 6 deletions
diff --git a/tests/misc/nice-fail b/tests/misc/nice-fail
index 944023387..6c8314c6b 100755
--- a/tests/misc/nice-fail
+++ b/tests/misc/nice-fail
@@ -17,12 +17,8 @@
# along with this program. If not, see <http://www.gnu.org/licenses/>.
-if test "$VERBOSE" = yes; then
- set -x
- nice --version
-fi
-
-. $srcdir/test-lib.sh
+. "${srcdir=.}/init.sh"; path_prepend_ ../src
+test "$VERBOSE" = yes && nice --version
# These tests verify exact status of internal failure.