From 5e31c2c8b652674c5302f066085019beb0e39d69 Mon Sep 17 00:00:00 2001 From: Karel Zak Date: Mon, 18 Oct 2010 14:42:42 +0200 Subject: tests: add libmount tab_parse.c tests Signed-off-by: Karel Zak --- shlibs/mount/src/tab.c | 11 +---------- 1 file changed, 1 insertion(+), 10 deletions(-) (limited to 'shlibs') diff --git a/shlibs/mount/src/tab.c b/shlibs/mount/src/tab.c index 97e4d1661..94683c192 100644 --- a/shlibs/mount/src/tab.c +++ b/shlibs/mount/src/tab.c @@ -806,16 +806,7 @@ int test_find(struct mtest *ts, int argc, char *argv[], int dr) if (!fs) fprintf(stderr, "%s: not found %s '%s'\n", file, find, what); else { - const char *s = mnt_fs_get_srcpath(fs); - if (s) - printf("%s", s); - else { - const char *tag, *val; - mnt_fs_get_tag(fs, &tag, &val); - printf("%s=%s", tag, val); - } - printf("|%s|%s\n", mnt_fs_get_target(fs), - mnt_fs_get_optstr(fs)); + mnt_fs_print_debug(fs, stdout); rc = 0; } done: -- cgit v1.2.3-55-g7522