1
0
mirror of synced 2026-04-30 05:35:57 +00:00

Add a brief sanity check to loadup process (#314)

Each step of the loadup now starts with a 'touch' to create a timestamp. At the end of the loadup, it makes sure the files needed by the next step are newer. This will catch some of the problems.
This commit is contained in:
Larry Masinter
2021-04-28 17:15:35 -07:00
committed by GitHub
parent f0ad3c5f60
commit 607d9ab2e7
6 changed files with 66 additions and 19 deletions

View File

@@ -7,12 +7,19 @@ if [ ! -f run-medley ] ; then
exit 1
fi
touch tmp/loadup.timestamp
scr="-sc 1024x768 -g 1042x790"
./run-medley $scr -greet $MEDLEYDIR/sources/LOADUP-LISP.CM tmp/init-mid.sysout
echo ----- created: -------
ls -l tmp/lisp.*[te]
echo ----------------------
if [ tmp/lisp.sysout -nt tmp/loadup.timestamp ]; then
echo ---- made ----
ls -l tmp/lisp.*
echo --------------
else
echo XXXXX FAILURE XXXXX
exit 1
fi