From: Erez_Zadok Date: Sun, 8 Jul 2007 01:51:01 +0000 (-0400) Subject: t-link-rename.sh: copyup test when renaming symlinks on readonly branches X-Git-Url: https://git.fsl.cs.stonybrook.edu/?a=commitdiff_plain;h=ca9353f7028f8c38559f7eb69626fc0e2899bc6e;p=unionfs-regression.git t-link-rename.sh: copyup test when renaming symlinks on readonly branches Signed-off-by: Erez Zadok --- diff --git a/t-link-rename.sh b/t-link-rename.sh index 54e1950..b020e84 100755 --- a/t-link-rename.sh +++ b/t-link-rename.sh @@ -13,6 +13,7 @@ d $LOWER_DIR1 d $LOWER_DIR2 d $LOWER_DIR3 f $LOWER_DIR2/abc +l $LOWER_DIR2/foo FILES } @@ -22,9 +23,12 @@ d $TOP_LOWER_DIR d $LOWER_DIR0 l $LOWER_DIR0/abc f $LOWER_DIR0/abc_ +l $LOWER_DIR0/bar +f $LOWER_DIR0/.wh.foo d $LOWER_DIR1 d $LOWER_DIR2 f $LOWER_DIR2/abc +l $LOWER_DIR2/foo d $LOWER_DIR3 FILES } @@ -36,6 +40,8 @@ cd /mnt/unionfs/ > /dev/null ln -s abc abc3 mv abc abc_ mv abc3 abc +# rename symlink on ro branch +mv foo bar cd - > /dev/null unmount_union