projects
/
unionfs-regression-odf.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3a40780
)
cramfs fix for mmap test: prepared lower file before mounting ro union
author
Erez_Zadok
<ezk@cs.sunysb.edu>
Wed, 1 Aug 2007 06:26:59 +0000
(
02:26
-0400)
committer
Erez_Zadok
<ezk@cs.sunysb.edu>
Wed, 1 Aug 2007 06:26:59 +0000
(
02:26
-0400)
t-mmap.sh
patch
|
blob
|
history
diff --git
a/t-mmap.sh
b/t-mmap.sh
index 93f8a2865119cd530d614703d4a0ab46de671488..4d4af5027dc817dc424e1bd7e721bb8abd2bc5ed 100755
(executable)
--- a/
t-mmap.sh
+++ b/
t-mmap.sh
@@
-45,9
+45,9
@@
FILES
# read-only mmap test
function test_ro {
( files ) | create_hierarchy
- mount_union "" $LOWER_DIR0 $LOWER_DIR1=ro
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
+ mount_union "" $LOWER_DIR0 $LOWER_DIR1=ro
./progs/mapper -r $MOUNTPOINT/a > /dev/null || exit $?
./progs/mapper -r $MOUNTPOINT/b > /dev/null || exit $?
unmount_union