view tests/test-copy-file-2.sh @ 40223:84a15f7137a7

Fix another test failure introduced by the same commit.
author Bruno Haible <bruno@clisp.org>
date Sun, 10 Mar 2019 13:08:25 +0100
parents 066c585853e5
children
line wrap: on
line source

#!/bin/sh

# Test copy-file on the file system of the build directory, which may be
# a local file system or NFS mounted.

. "${srcdir=.}/init.sh"; path_prepend_ .

TMPDIR=`pwd`
export TMPDIR

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