Whamcloud - gitweb
b=13798
authorgrev <grev>
Fri, 2 Nov 2007 20:20:36 +0000 (20:20 +0000)
committergrev <grev>
Fri, 2 Nov 2007 20:20:36 +0000 (20:20 +0000)
i=Nathan

remove tdir before opendirunlink

lustre/tests/sanityN.sh

index 8773ebe..ef7d32d 100644 (file)
@@ -160,6 +160,9 @@ test_6() {
 run_test 6 "remove of open file on other node =================="
 
 test_7() {
+       # run_one creates uniq $tdir (bug 13798)
+       # opendirunlink failes if it exists
+       rmdir $DIR1/$tdir || true
        opendirunlink $DIR1/$tdir $DIR2/$tdir || \
                error "opendirunlink $DIR1/$tdir $DIR2/$tdir"
 }