From: Rob Browning Date: Fri, 27 Jul 2012 17:04:35 +0000 (-0500) Subject: Handle the possibility of a sgid/suid parent dir in one of the meta tests. X-Git-Url: https://git.michaelhowe.org/gitweb/?a=commitdiff_plain;h=e4bb71e6b3226bbf2f5af317123b78c661f72a3d;p=packages%2Fb%2Fbup.git Handle the possibility of a sgid/suid parent dir in one of the meta tests. Signed-off-by: Rob Browning Reviewed-by: Zoran Zaric --- diff --git a/t/test-meta.sh b/t/test-meta.sh index 55c363d..06e06ac 100755 --- a/t/test-meta.sh +++ b/t/test-meta.sh @@ -273,6 +273,7 @@ WVSTART 'meta --edit' mkdir "$TOP/bupmeta.tmp" cd "$TOP/bupmeta.tmp" touch src + chown 0:0 src # In case the parent dir is sgid, etc. WVPASS bup meta -cf src.meta src mkdir dest