texlive[53277] Master/tlpkg/bin/tl-update-tlnet: run test

commits+karl at tug.org commits+karl at tug.org
Tue Dec 31 19:44:35 CET 2019


Revision: 53277
          http://tug.org/svn/texlive?view=revision&revision=53277
Author:   karl
Date:     2019-12-31 19:44:35 +0100 (Tue, 31 Dec 2019)
Log Message:
-----------
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)

Modified Paths:
--------------
    trunk/Master/tlpkg/bin/tl-update-tlnet

Modified: trunk/Master/tlpkg/bin/tl-update-tlnet
===================================================================
--- trunk/Master/tlpkg/bin/tl-update-tlnet	2019-12-31 00:54:45 UTC (rev 53276)
+++ trunk/Master/tlpkg/bin/tl-update-tlnet	2019-12-31 18:44:35 UTC (rev 53277)
@@ -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 @@
 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 \



More information about the tex-live-commits mailing list