utimensat-tests, etc.: try to fix some races
[gnulib.git] / modules / futimens-tests
index a0bfb0b..a1948eb 100644 (file)
@@ -10,9 +10,9 @@ Depends-on:
 gettext
 fcntl-h
 ignore-value
+nanosleep
 timespec
 dup
-usleep
 utimecmp
 
 configure.ac:
@@ -20,4 +20,4 @@ configure.ac:
 Makefile.am:
 TESTS += test-futimens
 check_PROGRAMS += test-futimens
-test_futimens_LDADD = $(LDADD) $(LIB_CLOCK_GETTIME) @LIBINTL@
+test_futimens_LDADD = $(LDADD) $(LIB_CLOCK_GETTIME) $(LIB_NANOSLEEP) @LIBINTL@