summaryrefslogtreecommitdiff
path: root/tests/misc/env
diff options
context:
space:
mode:
Diffstat (limited to 'tests/misc/env')
-rwxr-xr-xtests/misc/env8
1 files changed, 2 insertions, 6 deletions
diff --git a/tests/misc/env b/tests/misc/env
index 96a4eaba6..11343a1ff 100755
--- a/tests/misc/env
+++ b/tests/misc/env
@@ -17,12 +17,8 @@
# along with this program. If not, see <http://www.gnu.org/licenses/>.
-if test "$VERBOSE" = yes; then
- set -x
- env --version
-fi
-
-. $srcdir/test-lib.sh
+. "${srcdir=.}/init.sh"; path_prepend_ ../src
+test "$VERBOSE" = yes && env --version
# Verify clearing the environment