From 33ab09f8c396625d7497b9298164bd8597dfc228 Mon Sep 17 00:00:00 2001 From: grev Date: Sat, 13 Oct 2007 00:33:36 +0000 Subject: [PATCH] b=13028 i=Adilger add recursive symlink test_17e --- lustre/tests/sanity.sh | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/lustre/tests/sanity.sh b/lustre/tests/sanity.sh index f36119c..1d6e2f7 100644 --- a/lustre/tests/sanity.sh +++ b/lustre/tests/sanity.sh @@ -437,6 +437,15 @@ test_17d() { } run_test 17d "symlinks: create dangling ========================" +test_17e() { + mkdir -p $DIR/$tdir + local foo=$DIR/$tdir/$tfile + ln -s $foo $foo || error "create symlink failed" + ls -l $foo || error "ls -l failed" + ls $foo && error "ls not failed" || true +} +run_test 17e "symlinks: create recursive symlink (should return error) ====" + test_18() { touch $DIR/f ls $DIR || error -- 1.8.3.1