From e6ae981ea4bf61c8e3730de7f099c93646a06016 Mon Sep 17 00:00:00 2001 From: Erez_Zadok Date: Wed, 1 Aug 2007 02:26:59 -0400 Subject: [PATCH] cramfs fix for mmap test: prepared lower file before mounting ro union --- t-mmap.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/t-mmap.sh b/t-mmap.sh index 93f8a28..4d4af50 100755 --- 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 -- 2.43.0