diff options
author | Bruno Haible <bruno@clisp.org> | 2023-04-22 17:38:28 +0200 |
---|---|---|
committer | Bruno Haible <bruno@clisp.org> | 2023-04-22 17:38:28 +0200 |
commit | 9a7378f15593b89f97d4c2e934baa957b6a7c3cf (patch) | |
tree | e98c2c3bcba47f86cfef484719185e08560612f5 /modules | |
parent | aa9dc79d64b33822e516b6b894c7fb8fd2247981 (diff) | |
download | gnulib-9a7378f15593b89f97d4c2e934baa957b6a7c3cf.tar.gz |
string-desc tests: Avoid test failure on native Windows.
* tests/test-string-desc.c: Include <fcntl.h>, <unistd.h>.
(main): Expect a file name argument. Write to this file, instead of to
fd 3.
* tests/test-string-desc.sh: Pass a file name as argument, instead of
using '3>'.
* modules/string-desc-tests (Depends-on): Add close.
Diffstat (limited to 'modules')
-rw-r--r-- | modules/string-desc-tests | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/modules/string-desc-tests b/modules/string-desc-tests index d7923c3a60..687d4e2af2 100644 --- a/modules/string-desc-tests +++ b/modules/string-desc-tests @@ -4,6 +4,7 @@ tests/test-string-desc.c tests/macros.h Depends-on: +close configure.ac: |