From d3742319595e2dc80d07290c18d5256205d0e9d8 Mon Sep 17 00:00:00 2001 From: Dmitry Zogin Date: Mon, 5 Apr 2010 20:08:28 -0400 Subject: [PATCH] b=22301 lustre.lov error when backing up symlinks with extended attributes sanity test_17k created o=grev i=dmitry.zogin --- lustre/tests/sanity.sh | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/lustre/tests/sanity.sh b/lustre/tests/sanity.sh index bf1c322..8b0e3c1 100644 --- a/lustre/tests/sanity.sh +++ b/lustre/tests/sanity.sh @@ -471,6 +471,17 @@ test_17i() { #bug 20018 } run_test 17i "don't panic on short symlink" +test_17k() { #bug 22301 + rsync --help | grep -q xattr || + skip_env "$(rsync --version| head -1) does not support xattrs" + mkdir -p $DIR/{$tdir,$tdir.new} + touch $DIR/$tdir/$tfile + ln -s $DIR/$tdir/$tfile $DIR/$tdir/$tfile.lnk + rsync -av -X $DIR/$tdir/ $DIR/$tdir.new || + error "rsync failed with xattrs enabled" +} +run_test 17k "symlinks: rsync with xattrs enabled =========================" + test_18() { touch $DIR/f ls $DIR || error -- 1.8.3.1