From: Dmitry Zogin Date: Tue, 6 Apr 2010 00:08:28 +0000 (-0400) Subject: b=22301 lustre.lov error when backing up symlinks with extended attributes X-Git-Tag: 1.8.3~18 X-Git-Url: https://git.whamcloud.com/?a=commitdiff_plain;h=d3742319595e2dc80d07290c18d5256205d0e9d8;p=fs%2Flustre-release.git b=22301 lustre.lov error when backing up symlinks with extended attributes sanity test_17k created o=grev i=dmitry.zogin --- 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