summaryrefslogtreecommitdiff
path: root/tests/misc/printenv
diff options
context:
space:
mode:
Diffstat (limited to 'tests/misc/printenv')
-rwxr-xr-xtests/misc/printenv2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/misc/printenv b/tests/misc/printenv
index dd82c0509..67173ed58 100755
--- a/tests/misc/printenv
+++ b/tests/misc/printenv
@@ -16,7 +16,7 @@
# 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/test-lib.sh
+. "${srcdir=.}/init.sh"; path_prepend_ ../src
test "$VERBOSE" = yes && env -- printenv --version
# Without arguments, printenv behaves like env. Some shells provide