From bb52bba5ce6ce95a0a585191da5994b56c256743 Mon Sep 17 00:00:00 2001 From: Erez_Zadok Date: Thu, 6 Sep 2007 02:27:59 -0400 Subject: [PATCH] t-create.sh: update create test for new unionfs_create semantics. run-tests: work around race bug in block2mtd. *.conf (DELAY): reduce default delay to 0.1 seconds. --- brm.conf | 2 +- default.conf | 2 +- run-tests | 1 + t-create.sh | 6 ++++-- thor.conf | 2 +- 5 files changed, 8 insertions(+), 5 deletions(-) mode change 100755 => 100644 t-create.sh diff --git a/brm.conf b/brm.conf index 720d120..b3e36ba 100644 --- a/brm.conf +++ b/brm.conf @@ -73,7 +73,7 @@ case ${MYFS} in esac # delay between each test (in seconds, optional) -DELAY=1 +DELAY=0.1 # Echo the command being executed to a file/device (optional) This is useful # when unionfs printk's some debugging output which may go to a log file, diff --git a/default.conf b/default.conf index 2a73848..50f1c97 100644 --- a/default.conf +++ b/default.conf @@ -75,7 +75,7 @@ case ${MYFS} in esac # delay between each test (in seconds or fractions thereof, optional) -DELAY=0.5 +DELAY=0.1 # Echo the command being executed to a file/device (optional) This is useful # when unionfs printk's some debugging output which may go to a log file, diff --git a/run-tests b/run-tests index 448bd1b..8a83440 100755 --- a/run-tests +++ b/run-tests @@ -118,6 +118,7 @@ function setup_lower jffs2 ) runcmd modprobe mtdblock runcmd modprobe block2mtd block2mtd=$dev,128ki + runcmd sync # work around race bug in block2mtd runcmd mount -t $fs /dev/mtdblock$i /n/lower/b$i ;; reiserfs ) diff --git a/t-create.sh b/t-create.sh old mode 100755 new mode 100644 index f28e743..2581b38 --- a/t-create.sh +++ b/t-create.sh @@ -70,10 +70,12 @@ FILES function afterfiles_rw { cat <