view tests/test-copy-acl-1.sh @ 40157:b5d610935bea

tests: Don't assume that /tmp exists. * tests/test-set-mode-acl-1.sh: Skip the test if /tmp does not exist. * tests/test-copy-acl-1.sh: Likewise. * tests/test-file-has-acl-1.sh: Likewise. * tests/test-copy-file-1.sh: Likewise.
author Bruno Haible <bruno@clisp.org>
date Sun, 27 Jan 2019 16:15:39 +0100
parents 066c585853e5
children
line wrap: on
line source

#!/bin/sh

# Test copy-acl on the file system of /var/tmp, which usually is a local
# file system.

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

if test -d /var/tmp; then
  TMPDIR=/var/tmp
else
  TMPDIR=/tmp
fi
test -d $TMPDIR || Exit 77
export TMPDIR

$BOURNE_SHELL "${srcdir}/test-copy-acl.sh"

Exit $?