From 8aa7e243017c3b3a22c428dfd6e12ea39313324f Mon Sep 17 00:00:00 2001 From: Richard Maw Date: Fri, 14 Oct 2011 09:22:10 +0100 Subject: :facepalm: the test was failing from a bug in the test. The corrected test also fails, however, so I guess I was right about there being a bug, though that is coincidental. --- tests/04_symlink_diff.sh | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'tests') diff --git a/tests/04_symlink_diff.sh b/tests/04_symlink_diff.sh index 7c03868..7b414fb 100755 --- a/tests/04_symlink_diff.sh +++ b/tests/04_symlink_diff.sh @@ -22,7 +22,7 @@ setup () { ln -s file flink && ln -s dir dlink ); done && - chgrp -h root $TARGET/flink $TARGET/dlink && + chgrp -h daemon $TARGET/flink $TARGET/dlink && ln -s /foo $ORIGIN/a && \ ln -s /bar $TARGET/a && \ chown -h :cdrom $TARGET/a @@ -31,10 +31,10 @@ setup () { check_results () { test -f $ORIGIN/file && check_group $ORIGIN/file cdrom && - test -f $ORIGIN/dir && + test -d $ORIGIN/dir && check_group $ORIGIN/dir cdrom && - check_group $ORIGIN/flink root && - check_group $ORIGIN/dlink root && + check_group $ORIGIN/flink daemon && + check_group $ORIGIN/dlink daemon && test -L $ORIGIN/a && \ check_symlink $ORIGIN/a "/bar" && \ check_group $ORIGIN/a cdrom && \ -- cgit v1.2.1