Adding link-rename test. The odf test suite is now complete.
authorRachita Kothiyal <rkothiya@ic.sunysb.edu>
Wed, 7 Nov 2007 02:13:09 +0000 (21:13 -0500)
committerRachita Kothiyal <rkothiya@ic.sunysb.edu>
Wed, 7 Nov 2007 02:13:09 +0000 (21:13 -0500)
t-link-rename.sh

index b020e84b05cd0ae6915d1ab4db924bb692d501ae..375a4f5688c7f016dfed6312365ff3d502c2484b 100755 (executable)
@@ -24,7 +24,7 @@ d $LOWER_DIR0
 l $LOWER_DIR0/abc
 f $LOWER_DIR0/abc_
 l $LOWER_DIR0/bar
-f $LOWER_DIR0/.wh.foo
+w $LOWER_DIR0 foo
 d $LOWER_DIR1
 d $LOWER_DIR2
 f $LOWER_DIR2/abc
@@ -33,6 +33,7 @@ d $LOWER_DIR3
 FILES
 }
 
+init_odf
 ( files ) | create_hierarchy
 mount_union "" $LOWER_DIR0 $LOWER_DIR1=ro $LOWER_DIR2=ro
 
@@ -45,6 +46,7 @@ mv foo bar
 cd - > /dev/null
 
 unmount_union
-( afterfiles_ro ) | check_hierarchy $TOP_LOWER_DIR
+( afterfiles_ro ) | check_hierarchy
+discard_odf
 
 complete_test