[Git][NTPsec/ntpsec][master] Fix pipefail test

Richard Laager gitlab at mg.gitlab.com
Sun Feb 23 04:59:21 UTC 2020



Richard Laager pushed to branch master at NTPsec / ntpsec


Commits:
2e0d90c3 by Richard Laager at 2020-02-22T22:57:57-06:00
Fix pipefail test

The logic on this was inadvertently flipped during one of the rewrites.

- - - - -


1 changed file:

- tests/option-tester.sh


Changes:

=====================================
tests/option-tester.sh
=====================================
@@ -99,7 +99,7 @@ then
   echo "## PYTHONPATH is" \"$PYTHONPATH\"
 fi
 
-if (set -o pipefail) 2>/dev/null
+if ! (set -o pipefail) 2>/dev/null
 then
   echo "### Old sh - no pipefail"
   echo "### We can't test for errors during build"



View it on GitLab: https://gitlab.com/NTPsec/ntpsec/-/commit/2e0d90c35788dcd76ed9072013be3b540c243eea

-- 
View it on GitLab: https://gitlab.com/NTPsec/ntpsec/-/commit/2e0d90c35788dcd76ed9072013be3b540c243eea
You're receiving this email because of your account on gitlab.com.


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.ntpsec.org/pipermail/vc/attachments/20200223/220e7df2/attachment.htm>


More information about the vc mailing list