Whamcloud - gitweb
tests: fix f_bigalloc_orphan_list so it is not dependant on umask
authorTheodore Ts'o <tytso@mit.edu>
Sat, 23 Jun 2018 21:54:28 +0000 (17:54 -0400)
committerTheodore Ts'o <tytso@mit.edu>
Sat, 23 Jun 2018 21:54:28 +0000 (17:54 -0400)
Reported-by: Matthias Andree <matthias.andree@gmx.de>
Signed-off-by: Theodore Ts'o <tytso@mit.edu>
tests/f_bigalloc_orphan_list/script

index 63a0350..b48d5c0 100644 (file)
@@ -13,6 +13,7 @@ $MKE2FS -Fq -t ext4 -O bigalloc $TMPFILE 1M > /dev/null 2>&1
 $DEBUGFS -w $TMPFILE << EOF > /dev/null 2>&1
 write $TEST_DATA testfile
 set_inode_field testfile links_count 0
+set_inode_field testfile mode 0100644
 set_inode_field testfile bmap[0] 0
 set_inode_field testfile bmap[2] 0
 set_super_value last_orphan 12