The second patch is especially worth because of the change to the http test.
At the moment we are at the mercy of the fail.com registrant, as they could
trigger a fake test fail (best case) or even exploit a possible clone
vulnerability (worst case).
2 patches for repository http://darcs.net:
patch e2c58b31305f63eefa2c0e72c0039587a5897479
Author: Gian Piero Carrubba <gpiero@rm-rf.it>
Date: Sun Jan 24 10:54:59 CET 2021
* t/n/issue1932-remote.sh: loosen the check for coping with different ssh versions
patch a578431d6f3a813a1b3dfeaae2bf8d10ba5d1819
Author: Gian Piero Carrubba <gpiero@rm-rf.it>
Date: Sun Jan 24 11:15:58 CET 2021
* t/n/issue1932-remote.sh: use fake host names under example.org domain
-[ -n "$(grep 'ssh: Could not resolve hostname invalid' log)" ]
+fgrep 'ssh: Could not resolve host' log
Fine. However, would you mind replacing fgrep with grep -F or just
plain grep? I think that is more portable.
-( http_proxy= darcs clone
http://www.bogus.domain.so.it.will.surely.fail.com || true ) 2>&1 | tee
log
+( http_proxy= darcs clone
http://www.bogus.domain.so.it.will.surely.fail.example.org. || true )
>log 2>&1
I agree this is safer.