lmi-commits
[Top][All Lists]
Advanced

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

[lmi-commits] [lmi] master 6fcb4d8 3/6: Make 'nychthemeral_test.sh' more


From: Greg Chicares
Subject: [lmi-commits] [lmi] master 6fcb4d8 3/6: Make 'nychthemeral_test.sh' more robust
Date: Sun, 21 Apr 2019 12:29:03 -0400 (EDT)

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

    Make 'nychthemeral_test.sh' more robust
    
    Guarded against glob weirdness by prepending './' to glob. Suggested by
    shellcheck (SC2035).
---
 nychthemeral_test.sh | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/nychthemeral_test.sh b/nychthemeral_test.sh
index b90e5d5..15dec88 100755
--- a/nychthemeral_test.sh
+++ b/nychthemeral_test.sh
@@ -143,7 +143,7 @@ make "$coefficiency" unit_tests build_type=safestdlib 2>&1 \
   | tee >(grep '\*\*\*') >(grep \?\?\?\?) >(grep '!!!!' --count | xargs printf 
'%d tests succeeded\n') >"$log_dir"/unit-tests-safestdlib
 
 printf '\n# xrc tests\n\n'
-java -jar /opt/lmi/third_party/rng/jing.jar -c xrc.rnc *.xrc 2>&1 \
+java -jar /opt/lmi/third_party/rng/jing.jar -c xrc.rnc ./*.xrc 2>&1 \
   | tee "$log_dir"/xrc
 
 # Run the following tests in a throwaway directory so that the files



reply via email to

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