summaryrefslogtreecommitdiff
path: root/tests/test-copy-file-2.sh
diff options
context:
space:
mode:
authorBruno Haible <bruno@clisp.org>2011-09-05 11:25:09 +0200
committerBruno Haible <bruno@clisp.org>2011-09-05 11:25:09 +0200
commit2c53fc42a02ccb53023521043c774769b057cbfb (patch)
tree76bd49dec1a688dec78e63de5f91dac694ba649d /tests/test-copy-file-2.sh
parent977389d936eb39475d8540651074ab48fcfd85a1 (diff)
downloadgnulib-2c53fc42a02ccb53023521043c774769b057cbfb.tar.gz
copy-file: Try unit tests on more file systems.
* tests/test-copy-file-1.sh: New file. * tests/test-copy-file-2.sh: New file. * modules/copy-file-tests (Files): Add them. (Makefile.am): Add them to TESTS.
Diffstat (limited to 'tests/test-copy-file-2.sh')
-rwxr-xr-xtests/test-copy-file-2.sh9
1 files changed, 9 insertions, 0 deletions
diff --git a/tests/test-copy-file-2.sh b/tests/test-copy-file-2.sh
new file mode 100755
index 0000000000..d4d959f8c6
--- /dev/null
+++ b/tests/test-copy-file-2.sh
@@ -0,0 +1,9 @@
+#!/bin/sh
+
+# Test copy-file on the file system of the build directory, which may be
+# a local file system or NFS mounted.
+
+TMPDIR=`pwd`
+export TMPDIR
+
+exec "${srcdir}/test-copy-file.sh"