TS_TESTUSER=${TS_TESTUSER:-"test"}
# helpers
-TS_HELPER_SYSINFO="$TS_TOPDIR/helpers/mnt_test_sysinfo"
+TS_HELPER_SYSINFO="$TS_TOPDIR/helpers/test_sysinfo"
# external commands
TS_ECMD_BLKID="@BLKID@"
include $(top_srcdir)/config/include-Makefile.am
-noinst_PROGRAMS = mnt_test_sysinfo test_blkdev
-mnt_test_sysinfo_SOURCES = mnt_test_sysinfo.c
+noinst_PROGRAMS = test_sysinfo test_blkdev
test_blkdev_SOURCES = $(top_srcdir)/lib/blkdev.c \
$(top_srcdir)/lib/linux_version.c
return 0;
}
-mntHlpfnc hlps[] =
+mntHlpfnc hlps[] =
{
{ "WORDSIZE", hlp_wordsize },
{ "pagesize", hlp_pagesize },
- { "INT_MAX", hlp_int_max },
+ { "INT_MAX", hlp_int_max },
{ "UINT_MAX", hlp_uint_max },
{ "LONG_MAX", hlp_long_max },
{ "ULONG_MAX", hlp_ulong_max },
if (strcmp(argv[1], "--help") == 0 || strcmp(argv[1], "-h") == 0) {
printf("%s <option>\n", argv[0]);
fputs("options:\n", stdout);
- for (fn = hlps; fn->name; fn++)
+ for (fn = hlps; fn->name; fn++)
printf("\t%s\n", fn->name);
exit(EXIT_SUCCESS);
}
}
}
}
-
+
exit(re ? EXIT_FAILURE : EXIT_SUCCESS);
}