]> git.ipfire.org Git - thirdparty/e2fsprogs.git/commitdiff
libext2fs: fix size check in tst_inode_size
authorTheodore Ts'o <tytso@mit.edu>
Fri, 16 Sep 2011 04:02:52 +0000 (00:02 -0400)
committerTheodore Ts'o <tytso@mit.edu>
Fri, 16 Sep 2011 13:27:06 +0000 (09:27 -0400)
Also add run tst_inode_size automaically from "make check"

Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
lib/ext2fs/Makefile.in
lib/ext2fs/tst_inode_size.c

index 60f4e96760e7495d8b60dcd14b05aa3ab49ab5a3..d268402193d29f5e80976dc05eda1e59ebcc72b8 100644 (file)
@@ -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
 
index 962f1cd33de2ca460a08a03a175c2d70ed37620d..78720c6d9e25906af85833adb61177ccbe2cfa69 100644 (file)
@@ -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);