From 601d6dcb85e8ad0a55f27f1a04eb1cabf85f8f91 Mon Sep 17 00:00:00 2001 From: Karl Berry Date: Tue, 31 Dec 2019 18:44:35 +0000 Subject: run test installation and subsequent tests with PATH=/usr/bin (only), so that we do not find our own mktexlsr, etc., and think it's succeeded when the installation is broken. (Also renice.) https://tug.org/pipermail/tex-live/2019-December/044611.html (and related reports) git-svn-id: svn://tug.org/texlive/trunk@53277 c570f23f-e606-0410-a88d-b1316a301751 --- Master/tlpkg/bin/tl-update-tlnet | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'Master/tlpkg/bin/tl-update-tlnet') diff --git a/Master/tlpkg/bin/tl-update-tlnet b/Master/tlpkg/bin/tl-update-tlnet index 7125723bc01..50e98e7d713 100755 --- a/Master/tlpkg/bin/tl-update-tlnet +++ b/Master/tlpkg/bin/tl-update-tlnet @@ -9,6 +9,7 @@ # all as specified in the options. vc_id='$Id$' +renice 20 $$ >&/dev/null unset CDPATH unset LS_COLORS @@ -151,6 +152,10 @@ instopt_adjustrepo 1 TEXLIVE_INSTALL_ENV_NOCHECK=1; export TEXLIVE_INSTALL_ENV_NOCHECK TEXLIVE_INSTALL_NO_WELCOME=1; export TEXLIVE_INSTALL_NO_WELCOME +# Minimal PATH from here on! E.g., we don't want the test install to +# find our own mktexlsr, but only have the programs in the test available. +PATH=/usr/bin + tlnet_install_log=`pwd`/update-tlnet-install.log echo "$0: Running test install (log: $tlnet_install_log)..." perl install-tl -location $tltry -profile texlive.profile \ -- cgit v1.2.3