return 0;
}
+static int hlp_scandirat_ok(void)
+{
+ printf("%d\n",
+#ifdef HAVE_SCANDIRAT
+ 1
+#else
+ 0
+#endif
+ );
+ return 0;
+}
+
static int hlp_statmount_ok(void)
{
printf("%d\n",
{ "wcsspn-ok", hlp_wcsspn_ok },
{ "enotty-ok", hlp_enotty_ok },
{ "fsopen-ok", hlp_fsopen_ok },
+ { "scandirat-ok", hlp_scandirat_ok },
{ "statmount-ok", hlp_statmount_ok },
{ "listmount-ok", hlp_listmount_ok },
{ "sz(time_t)", hlp_sz_time },
. "$TS_TOPDIR"/functions.sh
ts_init "$*"
+[ "$("$TS_HELPER_SYSINFO" scandirat-ok)" = "1" ] || ts_skip "no scandirat"
+
ts_check_test_command "$TS_HELPER_CONFIGS"
# Create test directory structure