mirror of
https://github.com/MidnightCommander/mc
synced 2024-12-22 12:32:40 +03:00
tests/.../do_panel_cd.c: show patch mismath on test failure
Signed-off-by: Sergei Trofimovich <slyfox@gentoo.org>
This commit is contained in:
parent
18df85a1d2
commit
6d3b90247b
@ -76,7 +76,14 @@ START_TEST (test_do_panel_cd_empty_mean_home)
|
||||
|
||||
fail_unless(ret);
|
||||
cwd = vfs_path_to_str (panel->cwd_vpath);
|
||||
fail_unless(strcmp(cwd, mc_config_get_home_dir ()) == 0);
|
||||
|
||||
ret = strcmp(cwd, mc_config_get_home_dir ()) == 0;
|
||||
if (!ret)
|
||||
{
|
||||
printf ("cwd=%s\n", cwd);
|
||||
printf ("mc_config_get_home_dir ()=%s\n", mc_config_get_home_dir ());
|
||||
}
|
||||
fail_unless(ret);
|
||||
|
||||
|
||||
vfs_path_free (panel->cwd_vpath);
|
||||
|
Loading…
Reference in New Issue
Block a user