texlive[53154] Build/source/texk/web2c: rm trap.base/trip.fmt before

commits+karl at tug.org commits+karl at tug.org
Tue Dec 17 20:06:20 CET 2019


Revision: 53154
          http://tug.org/svn/texlive?view=revision&revision=53154
Author:   karl
Date:     2019-12-17 20:06:20 +0100 (Tue, 17 Dec 2019)
Log Message:
-----------
rm trap.base/trip.fmt before remaking

Modified Paths:
--------------
    trunk/Build/source/texk/web2c/ChangeLog
    trunk/Build/source/texk/web2c/mftraptest.test
    trunk/Build/source/texk/web2c/triptest.test

Modified: trunk/Build/source/texk/web2c/ChangeLog
===================================================================
--- trunk/Build/source/texk/web2c/ChangeLog	2019-12-17 19:05:32 UTC (rev 53153)
+++ trunk/Build/source/texk/web2c/ChangeLog	2019-12-17 19:06:20 UTC (rev 53154)
@@ -1,5 +1,9 @@
 2019-12-17  Karl Berry  <karl at freefriends.org>
 
+	* mftraptest.test,
+	triptest.test: rm the .base/.fmt file before remaking it,
+	so we can't find one left over from a previous run.
+
 	* am/web.am (web_tests): add tests/bibtex-bigauth.test (forgot
 	yesterday).
 

Modified: trunk/Build/source/texk/web2c/mftraptest.test
===================================================================
--- trunk/Build/source/texk/web2c/mftraptest.test	2019-12-17 19:05:32 UTC (rev 53153)
+++ trunk/Build/source/texk/web2c/mftraptest.test	2019-12-17 19:06:20 UTC (rev 53154)
@@ -1,6 +1,6 @@
 #! /bin/sh -vx
 # $Id$
-# Copyright 2017-2018 Karl Berry <tex-live at tug.org>
+# Copyright 2017-2019 Karl Berry <tex-live at tug.org>
 # Copyright 2009-2014 Peter Breitenlohner <tex-live at tug.org>
 # You may freely use, modify and/or distribute this file.
 
@@ -49,8 +49,10 @@
 set -x
 
 # get same filename in log
-$LN_S $testdir/trap.mf .
+rm -f trap.mf
+$LN_S $testdir/trap.mf . || exit 1
 
+rm -f trap.base
 ../mf --progname=inimf <$testdir/mftrap1.in >mftrapin.fot
 if test ! -s trap.base; then
   echo "*** trap.base not created by mftrap1.in, investigate!" >&2

Modified: trunk/Build/source/texk/web2c/triptest.test
===================================================================
--- trunk/Build/source/texk/web2c/triptest.test	2019-12-17 19:05:32 UTC (rev 53153)
+++ trunk/Build/source/texk/web2c/triptest.test	2019-12-17 19:06:20 UTC (rev 53154)
@@ -1,6 +1,6 @@
 #! /bin/sh -vx
 # $Id$
-# Copyright 2017-2018 Karl Berry <tex-live at tug.org>
+# Copyright 2017-2019 Karl Berry <tex-live at tug.org>
 # Copyright 2009-2014 Peter Breitenlohner <tex-live at tug.org>
 # You may freely use, modify and/or distribute this file.
 
@@ -64,8 +64,10 @@
 diff $testdir/trip.pl trip.pl || is_OK=false
 
 # get same filename in log
-$LN_S $testdir/trip.tex .
+rm -f trip.tex
+$LN_S $testdir/trip.tex . || exit 1
 
+rm -f trip.fmt
 ../tex --progname=initex --ini <$testdir/trip1.in >tripin.fot
 if test ! -s trip.fmt; then
   echo "*** trip.fmt not created by trip1.in, investigate!" >&2



More information about the tex-live-commits mailing list