mirror of
https://github.com/MidnightCommander/mc
synced 2024-12-23 04:46:55 +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
12018c5e5a
commit
f5550766fe
@ -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