mc/tests
Sergei Trofimovich c8e584dead Ticket #2768 ('make check' failed)
tests/.../do_panel_cd.c: fix test when 'HOME' contains trailing slashes.

Steps to reproduce:

    $ HOME=${HOME}/ make check
    Running suite(s): /src/filemanager
    cwd=/subvolumes/var_tmp/paludis/app-misc-mc-9999/temp
    mc_config_get_home_dir ()=/subvolumes/var_tmp/paludis/app-misc-mc-9999/temp/
    0%: Checks: 1, Failures: 1, Errors: 0
    do_panel_cd.c:86:F:Core:test_do_panel_cd_empty_mean_home:0: Assertion 'ret' failed

The patch adds home dir path normalization.

Signed-off-by: Sergei Trofimovich <slyfox@gentoo.org>
2012-04-22 10:31:55 +03:00
..
lib Fixed creating string from relative non-local VFS. 2012-04-22 10:31:55 +03:00
src Ticket #2768 ('make check' failed) 2012-04-22 10:31:55 +03:00
Makefile.am Added tests for examine_cd() function. 2012-03-12 14:11:41 +03:00