lmi-commits
[Top][All Lists]
Advanced

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

[lmi-commits] [lmi] master e819f44 4/6: Make 'nychthemeral_test.sh' filt


From: Greg Chicares
Subject: [lmi-commits] [lmi] master e819f44 4/6: Make 'nychthemeral_test.sh' filter its output
Date: Sun, 21 Apr 2019 12:29:04 -0400 (EDT)

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

    Make 'nychthemeral_test.sh' filter its output
    
    Simplified usage recommendation, filtering output in the script rather
    than on the command line.
---
 nychthemeral_test.sh | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/nychthemeral_test.sh b/nychthemeral_test.sh
index 15dec88..5f1643c 100755
--- a/nychthemeral_test.sh
+++ b/nychthemeral_test.sh
@@ -22,7 +22,7 @@
 # snail: Chicares, 186 Belle Woods Drive, Glastonbury CT 06033, USA
 
 # Suggested use:
-#   $make clobber; ./nychthemeral_test.sh 2>&1 | tee /tmp/lmi/logs/log | sed 
-f errors.sed
+#   $make clobber; ./nychthemeral_test.sh
 # Omitting the 'clobber' step when it's known to be unnecessary makes
 # that command take two minutes instead of five on a dual E5-2630 v3
 # machine. What's difficult is knowing when it's truly unnecessary.
@@ -106,6 +106,7 @@ schemata_clutter='
 log_dir=/tmp/lmi/logs
 mkdir --parents "$log_dir"
 
+{
 cd /opt/lmi/src/lmi
 
 printf '\n# test concinnity\n\n'
@@ -175,3 +176,4 @@ for z in /tmp/lmi/tmp/*(N); do rm "$z"; done
 # no such actions must be performed manually while it is running.
 # Therefore, it is deliberately excluded from this script.
 printf '\nDo not forget to run wx_test.\n'
+} 2>&1 | tee "$log_dir"/nychthemeral_test | sed -f errors.sed



reply via email to

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