1dc728923Sopenharmony_ciFrom 851e3f835614371ab4e21c36f2ddcb6f0312a8bb Mon Sep 17 00:00:00 2001 2dc728923Sopenharmony_ciFrom: ZhiqiangLiu <lzhq28@mail.ustc.edu.cn> 3dc728923Sopenharmony_ciDate: Wed, 15 Jul 2020 21:20:25 +0800 4dc728923Sopenharmony_ciSubject: [PATCH] e2fsprogs: set hugefile from 4T to 1T in hugefile test 5dc728923Sopenharmony_ci 6dc728923Sopenharmony_ciWhen execing make check, 4T is too large for CI, 7dc728923Sopenharmony_ciso set hugefile from 4T to 1T in hugefile test. 8dc728923Sopenharmony_ci 9dc728923Sopenharmony_ciSigned-off-by: Zhiqiang Liu <lzhq28@mail.ustc.edu.cn> 10dc728923Sopenharmony_ci--- 11dc728923Sopenharmony_ci tests/m_hugefile/expect | 14 +++++++------- 12dc728923Sopenharmony_ci tests/m_hugefile/script | 4 ++-- 13dc728923Sopenharmony_ci 2 files changed, 9 insertions(+), 9 deletions(-) 14dc728923Sopenharmony_ci 15dc728923Sopenharmony_cidiff --git a/tests/m_hugefile/expect b/tests/m_hugefile/expect 16dc728923Sopenharmony_ciindex ee33fe5..170387a 100644 17dc728923Sopenharmony_ci--- a/tests/m_hugefile/expect 18dc728923Sopenharmony_ci+++ b/tests/m_hugefile/expect 19dc728923Sopenharmony_ci@@ -1,19 +1,19 @@ 20dc728923Sopenharmony_ci-mke2fs -F -T hugefile test.img 4T 21dc728923Sopenharmony_ci-Creating filesystem with 1073741824 4k blocks and 1048576 inodes 22dc728923Sopenharmony_ci+mke2fs -F -T hugefile test.img 1T 23dc728923Sopenharmony_ci+Creating filesystem with 268435456 4k blocks and 262144 inodes 24dc728923Sopenharmony_ci Superblock backups stored on blocks: 25dc728923Sopenharmony_ci 26dc728923Sopenharmony_ci Allocating group tables: done 27dc728923Sopenharmony_ci-Writing inode tables: done 28dc728923Sopenharmony_ci+Writing inode tables: done 29dc728923Sopenharmony_ci Creating 1 huge file(s) : done 30dc728923Sopenharmony_ci-Writing superblocks and filesystem accounting information: done 31dc728923Sopenharmony_ci+Writing superblocks and filesystem accounting information: done 32dc728923Sopenharmony_ci 33dc728923Sopenharmony_ci Pass 1: Checking inodes, blocks, and sizes 34dc728923Sopenharmony_ci Pass 2: Checking directory structure 35dc728923Sopenharmony_ci Pass 3: Checking directory connectivity 36dc728923Sopenharmony_ci Pass 4: Checking reference counts 37dc728923Sopenharmony_ci Pass 5: Checking group summary information 38dc728923Sopenharmony_ci-test_filesys: 13/1048576 files (0.0% non-contiguous), 1073709417/1073741824 blocks 39dc728923Sopenharmony_ci+test_filesys: 13/262144 files (0.0% non-contiguous), 268394593/268435456 blocks 40dc728923Sopenharmony_ci Exit status is 0 41dc728923Sopenharmony_ci debugfs -R "extents /store/big-data" test.img 42dc728923Sopenharmony_ci-Last logical block: 1073610751 43dc728923Sopenharmony_ci-Last physical block: 1073741823 44dc728923Sopenharmony_ci+Last logical block: 268369919 45dc728923Sopenharmony_ci+Last physical block: 268435455 46dc728923Sopenharmony_cidiff --git a/tests/m_hugefile/script b/tests/m_hugefile/script 47dc728923Sopenharmony_ciindex 1abdb7d..e576a21 100644 48dc728923Sopenharmony_ci--- a/tests/m_hugefile/script 49dc728923Sopenharmony_ci+++ b/tests/m_hugefile/script 50dc728923Sopenharmony_ci@@ -35,8 +35,8 @@ cat > $CONF << ENDL 51dc728923Sopenharmony_ci } 52dc728923Sopenharmony_ci ENDL 53dc728923Sopenharmony_ci 54dc728923Sopenharmony_ci-echo "mke2fs -F -T hugefile test.img 4T" > $OUT 55dc728923Sopenharmony_ci-MKE2FS_CONFIG=$CONF $MKE2FS -F -T hugefile $TMPFILE 4T >> $OUT 2>&1 56dc728923Sopenharmony_ci+echo "mke2fs -F -T hugefile test.img 1T" > $OUT 57dc728923Sopenharmony_ci+MKE2FS_CONFIG=$CONF $MKE2FS -F -T hugefile $TMPFILE 1T >> $OUT 2>&1 58dc728923Sopenharmony_ci rm -f $CONF 59dc728923Sopenharmony_ci 60dc728923Sopenharmony_ci # check the file system if we get this far, we succeeded... 61dc728923Sopenharmony_ci-- 62dc728923Sopenharmony_ci2.21.1 (Apple Git-122.3) 63dc728923Sopenharmony_ci 64