Mercurial > gnulib
view tests/test-copy-file-1.sh @ 40246:c34f677e6117 default tip master
_Noreturn: GCC 4.7 does not support [[noreturn]] in C++11 mode
* lib/_Noreturn.h, m4/gnulib-common.m4: Don't use [[noreturn]] before
GCC 4.8.
author | Akim Demaille <akim.demaille@gmail.com> |
---|---|
date | Sun, 17 Mar 2019 19:27:20 +0100 |
parents | b5d610935bea |
children |
line wrap: on
line source
#!/bin/sh # Test copy-file 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-file.sh" ret1=$? NO_STDERR_OUTPUT=1 $BOURNE_SHELL "${srcdir}/test-copy-file.sh" ret2=$? case $ret1 in 77 ) Exit $ret2 ;; * ) Exit $ret1 ;; esac