summaryrefslogtreecommitdiff
path: root/tests/test-copy-file-2.sh
blob: 1756f7eb47482a47fa81359ecc54975a5604ac60 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#!/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

"${srcdir}/test-copy-file.sh"
ret1=$?
NO_STDERR_OUTPUT=1 "${srcdir}/test-copy-file.sh"
ret2=$?
case $ret1 in
  77 ) exit $ret2 ;;
  * ) exit $ret1 ;;
esac