d/tests/dqcachetest skip the test in docker

parent 7c583381
Pipeline #30860 passed with stages
in 5 minutes and 30 seconds
......@@ -6,6 +6,18 @@
#change directory to $AUTOPKGTEST_TMP
# check if we run in docker
if [ -f /.dockerenv ]; then
if [ -e /proc/1/cgroup ]; then
if grep -q docker /proc/1/cgroup >/dev/null; then
exec >&2
echo "running in docker !!!!"
echo "skipping the test"
exit 0
# dqcache handles localhost internally, giving it an A record of
dq a localhost 1>log 2>&1
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment