backupfile: Fix module dependencies.
[gnulib.git] / tests / test-copy-file-1.sh
blob8998ba5e40efef1b39c346223d50950e8ce06487
1 #!/bin/sh
3 # Test copy-file on the file system of /var/tmp, which usually is a local
4 # file system.
6 if test -d /var/tmp; then
7 TMPDIR=/var/tmp
8 else
9 TMPDIR=/tmp
11 export TMPDIR
13 "${srcdir}/test-copy-file.sh"
14 ret1=$?
15 NO_STDERR_OUTPUT=1 "${srcdir}/test-copy-file.sh"
16 ret2=$?
17 case $ret1 in
18 77 ) exit $ret2 ;;
19 * ) exit $ret1 ;;
20 esac