diff options
author | Eric Blake <ebb9@byu.net> | 2009-11-17 09:58:18 -0700 |
---|---|---|
committer | Eric Blake <ebb9@byu.net> | 2009-11-17 22:33:56 -0700 |
commit | 6038ee4b827caaf05fa37dbb2304fedb9d0cd6c7 (patch) | |
tree | f2989aa60b662c9546d1047040bb83f66977f457 /modules/pipe-filter-gi-tests | |
parent | e8eecfd3f7d37692a7b87779b69d6fdc22d88d4d (diff) | |
download | gnulib-6038ee4b827caaf05fa37dbb2304fedb9d0cd6c7.tar.gz |
usleep: use it to simplify tests
Blindly using usleep makes it easier to write tests.
* modules/stat-time-tests (Depends-on): Add usleep.
(configure.ac): Drop usleep check.
* modules/chown-tests (Depends-on, configure.ac): Likewise.
* modules/lchown-tests (Depends-on, configure.ac): Likewise.
* modules/fdutimensat-tests (Depends-on, configure.ac): Likewise.
* modules/futimens-tests (Depends-on, configure.ac): Likewise.
* modules/openat-tests (Depends-on, configure.ac): Likewise.
* modules/utimens-tests (Depends-on, configure.ac): Likewise.
* modules/utimensat-tests (Depends-on, configure.ac): Likewise.
* modules/pipe-filter-gi-tests (Depends-on, configure.ac):
Likewise.
* tests/test-chown.h (nap): Rely on nicer usleep semantics.
* tests/test-lchown.h (nap): Likewise.
* tests/test-pipe-filter-gi2-main.c (small_nap): Likewise.
* tests/test-stat-time.c (nap): Likewise.
* tests/test-utimens-common.h (nap): Update comments.
Signed-off-by: Eric Blake <ebb9@byu.net>
Diffstat (limited to 'modules/pipe-filter-gi-tests')
-rw-r--r-- | modules/pipe-filter-gi-tests | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/modules/pipe-filter-gi-tests b/modules/pipe-filter-gi-tests index a02efa8be3..f0b2969f5a 100644 --- a/modules/pipe-filter-gi-tests +++ b/modules/pipe-filter-gi-tests @@ -11,11 +11,10 @@ binary-io c-ctype read-file full-write -sleep +usleep progname configure.ac: -AC_CHECK_FUNCS_ONCE([usleep]) Makefile.am: TESTS += test-pipe-filter-gi1.sh test-pipe-filter-gi2.sh |