From 0f55a9adf354175fb87d9e2fab6ef8e8504c5c73 Mon Sep 17 00:00:00 2001 From: villadalmine Date: Wed, 16 Nov 2016 22:18:06 +0100 Subject: [PATCH] added test to check link of cache directory --- tests/image.bats | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/tests/image.bats b/tests/image.bats index 71ff5be..de810a1 100644 --- a/tests/image.bats +++ b/tests/image.bats @@ -20,6 +20,10 @@ load ../common docker run -i $maintainer/$imagename find /opt/comanage/comanage-registry-$version } +@test "COmanage cache link directory created" { + docker run -i $maintainer/$imagename find /opt/comanage/comanage-registry-$version/local/tmp -links 1 + +} @test "Autoexec firstrun capability detected" { docker run -i $maintainer/$imagename find /opt/autoexec/bin/firstrun.sh }