mirror of https://github.com/vitalif/e2fsprogs
libext2fs: fix size check in tst_inode_size
Also add run tst_inode_size automaically from "make check" Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>bitmap-optimize
parent
75405ffde6
commit
65b7a463da
|
@ -361,6 +361,7 @@ check:: tst_bitops tst_badblocks tst_iscan tst_types tst_icount tst_super_size t
|
|||
LD_LIBRARY_PATH=$(LIB) DYLD_LIBRARY_PATH=$(LIB) ./tst_types
|
||||
LD_LIBRARY_PATH=$(LIB) DYLD_LIBRARY_PATH=$(LIB) ./tst_icount
|
||||
LD_LIBRARY_PATH=$(LIB) DYLD_LIBRARY_PATH=$(LIB) ./tst_super_size
|
||||
LD_LIBRARY_PATH=$(LIB) DYLD_LIBRARY_PATH=$(LIB) ./tst_inode_size
|
||||
LD_LIBRARY_PATH=$(LIB) DYLD_LIBRARY_PATH=$(LIB) ./tst_csum
|
||||
LD_LIBRARY_PATH=$(LIB) DYLD_LIBRARY_PATH=$(LIB) ./tst_crc32c
|
||||
|
||||
|
|
|
@ -73,7 +73,7 @@ int main(int argc, char **argv)
|
|||
|
||||
check_structure_fields();
|
||||
printf("Size of struct ext2_inode is %d\n", l);
|
||||
if (l != 256) {
|
||||
if (l != 128) {
|
||||
exit(1);
|
||||
}
|
||||
exit(0);
|
||||
|
|
Loading…
Reference in New Issue