Correction : {host,local,remote}/ : duplicity + MySQL.
[lhc/ateliers.git] / remote / lib.sh
index c87432d..3c7659f 100644 (file)
@@ -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