X-Git-Url: https://git.cyclocoop.org/?p=lhc%2Fateliers.git;a=blobdiff_plain;f=remote%2Flib.sh;h=3c7659f4aa45113a2b0e02a25fff6a845edb98eb;hp=c87432d7cf0913aa427f229f512a3fa068a7de75;hb=83b3ca83e8d9f263b25052cc1be78af145623857;hpb=0d705d8e2a919ee40866307aa3e18b1a5c4e7583 diff --git a/remote/lib.sh b/remote/lib.sh index c87432d..3c7659f 100644 --- a/remote/lib.sh +++ b/remote/lib.sh @@ -1,4 +1,7 @@ -. "$tool"/etc/local.sh -set -x -test ! "$(hostname --fqdn)" = "$local_fqdn" -test ! "$(hostname --fqdn)" = "$local_host" +. "$tool"/etc/remote.sh +. "$tool"/lib/log.sh +assert 'test ! "$(hostname --fqdn)" = "$local_fqdn"' +assert 'test ! "$(hostname --fqdn)" = "$local_host"' + +export TRACE=${TRACE-set} +test "$TRACE" = '' || set -x