diff --git a/.gitattributes b/.gitattributes index 87a8bbabcfef5013a0c61057af72ae59ea0f043f..3eef3eec50aefd237b21c45aa573e1df580bbf89 100644 --- a/.gitattributes +++ b/.gitattributes @@ -5476,6 +5476,7 @@ SubSystems/Online_Cobalt/test/tstartBGL.in_parset -text SubSystems/Online_Cobalt/test/tstartBGL.run eol=lf SubSystems/Online_Cobalt/test/tstartBGL.sh eol=lf SubSystems/Online_Cobalt/validation/cep4/docker/9311-cgroupdriver.test -text +SubSystems/Online_Cobalt/validation/cep4/docker/datalocation.test -text SubSystems/Online_Cobalt/validation/cep4/lofarsys/docker.root.test -text SubSystems/Online_Cobalt/validation/cep4/lofarsys/ssh_localhost.root.test -text SubSystems/Online_Cobalt/validation/cep4/network/9228-ipoib.test -text diff --git a/SubSystems/Online_Cobalt/validation/cep4/docker/datalocation.test b/SubSystems/Online_Cobalt/validation/cep4/docker/datalocation.test new file mode 100755 index 0000000000000000000000000000000000000000..0d4666d30e4dfd34b34afaa07f379420dcbfd09d --- /dev/null +++ b/SubSystems/Online_Cobalt/validation/cep4/docker/datalocation.test @@ -0,0 +1,9 @@ +#/bin/bash -e + +# Test for location of Docker's data: head nodes need to use /localdata/docker + +[[ `hostname` =~ "head" ]] || exit 0 + +# Docker startup line must contain "--graph=/localdata/docker" +fgrep "ExecStart" /usr/lib/systemd/system/docker.service | fgrep -- "--graph=/localdata/docker" || exit 1 +