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