Module Name: src
Committed By: riz
Date: Wed Jan 5 18:05:32 UTC 2011
Modified Files:
src/tests/sbin/resize_ffs: common.sh
Log Message:
Restore data integrity verification in the grow case which was
inadvertantly removed when refactoring occurred in a prior
revision.
To generate a diff of this commit:
cvs rdiff -u -r1.7 -r1.8 src/tests/sbin/resize_ffs/common.sh
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/tests/sbin/resize_ffs/common.sh
diff -u src/tests/sbin/resize_ffs/common.sh:1.7 src/tests/sbin/resize_ffs/common.sh:1.8
--- src/tests/sbin/resize_ffs/common.sh:1.7 Wed Jan 5 03:04:13 2011
+++ src/tests/sbin/resize_ffs/common.sh Wed Jan 5 18:05:32 2011
@@ -146,8 +146,10 @@
atf_check -s exit:0 -o ignore fsck_ffs -f -n -F ${IMG}
atf_check -s exit:0 -e ignore rump_ffs ${IMG} mnt
if [ ${nsize} -lt ${osize} ]; then
- # checking everything because we don't delete on grow
check_data_range $((remove + 1)) ${numdata}
+ else
+ # checking everything because we don't delete on grow
+ check_data_range 1 ${numdata}
fi
umount mnt
}