#139 `make check` 79 tests failed (+ext2fs_check_if).

closed-fixed
nobody
None
5
2006-05-29
2006-01-07
Peter Volkov
No

Good time.

The result of make check is "2 tests succeeded 79 tests
failed". All test.failed files contain the same reason:

+ ext2fs_check_if_mount: No such file or directory
while determining whether ./test.img is mounted.

The problem was the absense of /etc/mtab file.

This is normall if I'm in chroot environment. And I'm
not alone with such problem:
https://bugs.gentoo.org/show_bug.cgi?id=99766

I have two ideas how to fix this. Simplest solution is
to check for /etc/mtab, and if it absent, to tell user
about this. Another is to have two different expect
files for this two cases (with and without /etc/mtab).
Or may be to add some additional option to e2fsck to
disable this checks and use this option only during
tests...

Thank you for your time,
Peter.

Discussion

  • Mike Frysinger
    Mike Frysinger
    2006-02-08

    Logged In: YES
    user_id=114429

    appears to be an issue with running tests in non-C locales

    here's the patch that fixed it for us:
    http://bugs.gentoo.org/attachment.cgi?id=79079

     
  • Theodore Ts'o
    Theodore Ts'o
    2006-05-29

    Logged In: YES
    user_id=628

    Fixed in latest release by unsetting various locale
    environment variables and forcing the LANG environment
    variable to C.

     
  • Theodore Ts'o
    Theodore Ts'o
    2006-05-29

    • status: open --> closed-fixed