[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[lmi-commits] [lmi] master b916b0f: Fix defect introduced 20211019T0706Z
From: |
Greg Chicares |
Subject: |
[lmi-commits] [lmi] master b916b0f: Fix defect introduced 20211019T0706Z: 'rm' missing '--force' |
Date: |
Tue, 2 Nov 2021 08:29:02 -0400 (EDT) |
branch: master
commit b916b0f8763e663a98eff33e8ae0c8f07908f06a
Author: Gregory W. Chicares <gchicares@sbcglobal.net>
Commit: Gregory W. Chicares <gchicares@sbcglobal.net>
Fix defect introduced 20211019T0706Z: 'rm' missing '--force'
Added '--force' to an 'rm' command so that it doesn't fail even if the
files to be discarded haven't yet been created. A similar command four
lines above already used '--force'.
Commit 5a1330b6decab of 20211019T0706Z introduced this defect while
fixing another defect.
---
lmi_setup_43.sh | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/lmi_setup_43.sh b/lmi_setup_43.sh
index 0394a7a..12ad33d 100755
--- a/lmi_setup_43.sh
+++ b/lmi_setup_43.sh
@@ -118,7 +118,7 @@ rm --force /opt/lmi/test/analysis-* /opt/lmi/test/diffs-*
/opt/lmi/test/md5sums-
# ...copy the results just generated...
cp -a /opt/lmi/test/* /opt/lmi/touchstone
# ...discarding unwanted files...
-rm /opt/lmi/touchstone/regressions.tsv /opt/lmi/touchstone/trace.txt
+rm --force /opt/lmi/touchstone/regressions.tsv /opt/lmi/touchstone/trace.txt
# ...and rerun the test, which should now succeed:
make "$coefficiency" system_test
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [lmi-commits] [lmi] master b916b0f: Fix defect introduced 20211019T0706Z: 'rm' missing '--force',
Greg Chicares <=