utimensat-tests, etc.: try to fix some races
[gnulib.git] / modules / stat-time-tests
index 2e72444..18843de 100644 (file)
@@ -1,13 +1,15 @@
 Files:
 tests/test-stat-time.c
 tests/macros.h
+tests/nap.h
 
 Depends-on:
+nanosleep
 time
-usleep
 
 configure.ac:
 
 Makefile.am:
 TESTS += test-stat-time
 check_PROGRAMS += test-stat-time
+test_stat_time_LDADD = $(LDADD) $(LIB_NANOSLEEP)