patch unionfs-odf-regression-mmap-fix.patch
authorRachita Kothiyal <rachita@louie.fsl.cs.sunysb.edu>
Tue, 1 Jan 2008 21:39:41 +0000 (16:39 -0500)
committerRachita Kothiyal <rachita@louie.fsl.cs.sunysb.edu>
Tue, 1 Jan 2008 21:39:41 +0000 (16:39 -0500)
t-mmap.sh

index 24eca5a55c159cd13cb15818ddd9ac8b666e3f5d..927900bb8e5c565faaf6d8604c8c055ea7dbee46 100755 (executable)
--- a/t-mmap.sh
+++ b/t-mmap.sh
@@ -88,6 +88,7 @@ function test_rw {
 
 # read-write compile+execute test
 function test_exec {
+    init_odf
     ( files ) | create_hierarchy
     dd if=/dev/zero of=$LOWER_DIR0/a bs=4096 count=4 2>/dev/null
     dd if=/dev/zero of=$LOWER_DIR1/b bs=4096 count=4 2>/dev/null
@@ -98,6 +99,7 @@ function test_exec {
     echo -n "[exec] "
     unmount_union
     ( afterfiles_exec ) | check_hierarchy $TOP_LOWER_DIR
+    discard_odf
 }
 
 test_ro