summaryrefslogtreecommitdiff
path: root/modules
diff options
context:
space:
mode:
authorBruno Haible <bruno@clisp.org>2023-04-22 17:38:28 +0200
committerBruno Haible <bruno@clisp.org>2023-04-22 17:38:28 +0200
commit9a7378f15593b89f97d4c2e934baa957b6a7c3cf (patch)
treee98c2c3bcba47f86cfef484719185e08560612f5 /modules
parentaa9dc79d64b33822e516b6b894c7fb8fd2247981 (diff)
downloadgnulib-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-tests1
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: