lmi-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[lmi-commits] [lmi] master 6289e02 3/4: Don't invoke 'less' in any 'lmi_


From: Greg Chicares
Subject: [lmi-commits] [lmi] master 6289e02 3/4: Don't invoke 'less' in any 'lmi_setup_*' script
Date: Sun, 29 Sep 2019 07:32:38 -0400 (EDT)

branch: master
commit 6289e02784b330f04243326f8395ef338e875876
Author: Gregory W. Chicares <address@hidden>
Commit: Gregory W. Chicares <address@hidden>

    Don't invoke 'less' in any 'lmi_setup_*' script
    
    These scripts are intended to run unattended.
---
 lmi_setup_43.sh | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/lmi_setup_43.sh b/lmi_setup_43.sh
index 314ce6f..ca16264 100755
--- a/lmi_setup_43.sh
+++ b/lmi_setup_43.sh
@@ -76,14 +76,14 @@ coefficiency="--jobs=$(nproc)"
 
 # Run a system test.
 cd /opt/lmi/src/lmi || { printf 'failed: cd\n'; exit 3; }
-make "$coefficiency" system_test 2>&1 |less -S
+make "$coefficiency" system_test 2>&1 |sed -e'/^Cannot open.*test/d'
 # That test fails the first time because no results are saved in
 # touchstone/ yet. Copy the results just generated...
 cp -a /opt/lmi/test/* /opt/lmi/touchstone
 # ...removing summaries...
 rm /opt/lmi/touchstone/analysis* /opt/lmi/touchstone/diffs* 
/opt/lmi/touchstone/md5sum*
 # ...and rerun the test, which should now succeed:
-make "$coefficiency" system_test 2>&1 |less -S
+make "$coefficiency" system_test
 
 # Create a local mirror of the gnu.org repository:
 cd /opt/lmi || { printf 'failed: cd\n'; exit 3; }



reply via email to

[Prev in Thread] Current Thread [Next in Thread]