summaryrefslogtreecommitdiff
path: root/tests/convert-tests/002-ext3-basic
diff options
context:
space:
mode:
authorDimitri John Ledkov <xnox@ubuntu.com>2016-07-26 13:30:05 +0100
committerDimitri John Ledkov <xnox@ubuntu.com>2016-07-26 13:30:05 +0100
commit33c949697e316f17bb5037ae83509f35ce28f6a9 (patch)
tree41ea985d7efe7c3c1a2f64326d8de1a45de7af33 /tests/convert-tests/002-ext3-basic
parentaffaba87a2797d4d468faad268cc5e21c96c6c16 (diff)
New upstream release
Diffstat (limited to 'tests/convert-tests/002-ext3-basic')
-rwxr-xr-xtests/convert-tests/002-ext3-basic/test.sh16
1 files changed, 16 insertions, 0 deletions
diff --git a/tests/convert-tests/002-ext3-basic/test.sh b/tests/convert-tests/002-ext3-basic/test.sh
new file mode 100755
index 00000000..aeb111eb
--- /dev/null
+++ b/tests/convert-tests/002-ext3-basic/test.sh
@@ -0,0 +1,16 @@
+#!/bin/bash
+
+source $TOP/tests/common
+source $TOP/tests/common.convert
+
+setup_root_helper
+prepare_test_dev 512M
+check_prereq btrfs-convert
+
+for feature in '' 'extref' 'skinny-metadata' 'no-holes'; do
+ convert_test "$feature" "ext3 4k nodesize" 4096 mke2fs -j -b 4096
+ convert_test "$feature" "ext3 8k nodesize" 8192 mke2fs -j -b 4096
+ convert_test "$feature" "ext3 16k nodesize" 16384 mke2fs -j -b 4096
+ convert_test "$feature" "ext3 32k nodesize" 32768 mke2fs -j -b 4096
+ convert_test "$feature" "ext3 64k nodesize" 65536 mke2fs -j -b 4096
+done