summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorRichard Maw <richard.maw@codethink.co.uk>2011-10-14 09:22:10 +0100
committerRichard Maw <richard.maw@codethink.co.uk>2011-10-14 09:22:10 +0100
commit8aa7e243017c3b3a22c428dfd6e12ea39313324f (patch)
tree2b671f36a08ae9e1df6cbabc74850d97520dda5b /tests
parenta9e869d4e050ef59b3cad83930a376fede692804 (diff)
downloadtbdiff-8aa7e243017c3b3a22c428dfd6e12ea39313324f.tar.gz
: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.
Diffstat (limited to 'tests')
-rwxr-xr-xtests/04_symlink_diff.sh8
1 files changed, 4 insertions, 4 deletions
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 && \