diff options
Diffstat (limited to 'contrib')
| -rw-r--r-- | contrib/llvm-project/clang/lib/Driver/ToolChains/FreeBSD.h | 5 | ||||
| -rw-r--r-- | contrib/pjdfstest/tests/ftruncate/12.t | 2 | ||||
| -rw-r--r-- | contrib/pjdfstest/tests/link/05.t | 11 | ||||
| -rw-r--r-- | contrib/pjdfstest/tests/link/15.t | 2 | ||||
| -rw-r--r-- | contrib/pjdfstest/tests/mkdir/11.t | 2 | ||||
| -rw-r--r-- | contrib/pjdfstest/tests/mkfifo/11.t | 2 | ||||
| -rw-r--r-- | contrib/pjdfstest/tests/open/19.t | 2 | ||||
| -rw-r--r-- | contrib/pjdfstest/tests/symlink/11.t | 2 | ||||
| -rw-r--r-- | contrib/pjdfstest/tests/truncate/12.t | 2 | 
9 files changed, 18 insertions, 12 deletions
| diff --git a/contrib/llvm-project/clang/lib/Driver/ToolChains/FreeBSD.h b/contrib/llvm-project/clang/lib/Driver/ToolChains/FreeBSD.h index 7ab63905ed4f..7d090ba682b3 100644 --- a/contrib/llvm-project/clang/lib/Driver/ToolChains/FreeBSD.h +++ b/contrib/llvm-project/clang/lib/Driver/ToolChains/FreeBSD.h @@ -78,6 +78,11 @@ public:    void AddHIPIncludeArgs(const llvm::opt::ArgList &DriverArgs,                           llvm::opt::ArgStringList &CC1Args) const override; +  bool IsAArch64OutlineAtomicsDefault( +      const llvm::opt::ArgList &Args) const override { +    return true; +  } +    UnwindTableLevel    getDefaultUnwindTableLevel(const llvm::opt::ArgList &Args) const override;    bool isPIEDefault(const llvm::opt::ArgList &Args) const override; diff --git a/contrib/pjdfstest/tests/ftruncate/12.t b/contrib/pjdfstest/tests/ftruncate/12.t index 98f3daeaf461..022f2cdae47a 100644 --- a/contrib/pjdfstest/tests/ftruncate/12.t +++ b/contrib/pjdfstest/tests/ftruncate/12.t @@ -22,7 +22,7 @@ EFBIG|EINVAL)  	;;  *)  	echo "not ok ${ntest}" -	ntest=`expr ${ntest} + 1` +	ntest=$((ntest + 1))  	;;  esac  expect 0 unlink ${n0} diff --git a/contrib/pjdfstest/tests/link/05.t b/contrib/pjdfstest/tests/link/05.t index 5a18c2103e1d..4641e3605efb 100644 --- a/contrib/pjdfstest/tests/link/05.t +++ b/contrib/pjdfstest/tests/link/05.t @@ -2,7 +2,7 @@  # vim: filetype=sh noexpandtab ts=8 sw=8  # $FreeBSD: head/tools/regression/pjdfstest/tests/link/05.t 211352 2010-08-15 21:24:17Z pjd $ -desc="link returns EMLINK if the link count of the file named by name1 would exceed 32767" +desc="link returns EMLINK if the link count of the file named by name1 would exceed {PC_LINK_MAX}"  dir=`dirname $0`  . ${dir}/../misc.sh @@ -16,19 +16,20 @@ n1=`namegen`  n2=`namegen`  expect 0 mkdir ${n0} 0755 -n=`mdconfig -a -n -t malloc -s 1m` || exit +n=`mdconfig -a -n -t malloc -s 2m` || exit  newfs -i 1 /dev/md${n} >/dev/null || exit  mount /dev/md${n} ${n0} || exit +link_max=`${fstest} pathconf ${n0} _PC_LINK_MAX`  expect 0 create ${n0}/${n1} 0644  i=1 -while :; do +while [ ${i} -le ${link_max} ]; do  	link ${n0}/${n1} ${n0}/${i} >/dev/null 2>&1  	if [ $? -ne 0 ]; then  		break  	fi -	i=`expr $i + 1` +	i=$((i + 1))  done -test_check $i -eq 32767 +test_check $i -eq ${link_max}  expect EMLINK link ${n0}/${n1} ${n0}/${n2} diff --git a/contrib/pjdfstest/tests/link/15.t b/contrib/pjdfstest/tests/link/15.t index cb41ad503370..0dc7648df5cb 100644 --- a/contrib/pjdfstest/tests/link/15.t +++ b/contrib/pjdfstest/tests/link/15.t @@ -26,7 +26,7 @@ while :; do  	if [ $? -ne 0 ]; then  		break  	fi -	i=`expr $i + 1` +	i=$((i + 1))  done  expect ENOSPC link ${n0}/${n1} ${n0}/${n2}  umount /dev/md${n} diff --git a/contrib/pjdfstest/tests/mkdir/11.t b/contrib/pjdfstest/tests/mkdir/11.t index 118ca3af8896..f162f6d4eb86 100644 --- a/contrib/pjdfstest/tests/mkdir/11.t +++ b/contrib/pjdfstest/tests/mkdir/11.t @@ -24,7 +24,7 @@ while :; do  	if [ $? -ne 0 ]; then  		break  	fi -	i=`expr $i + 1` +	i=$((i + 1))  done  expect ENOSPC mkdir ${n0}/${n1} 0755  umount /dev/md${n} diff --git a/contrib/pjdfstest/tests/mkfifo/11.t b/contrib/pjdfstest/tests/mkfifo/11.t index 39cfea4e40f7..73d4a5d09f30 100644 --- a/contrib/pjdfstest/tests/mkfifo/11.t +++ b/contrib/pjdfstest/tests/mkfifo/11.t @@ -24,7 +24,7 @@ while :; do  	if [ $? -ne 0 ]; then  		break  	fi -	i=`expr $i + 1` +	i=$((i + 1))  done  expect ENOSPC mkfifo ${n0}/${n1} 0644  umount /dev/md${n} diff --git a/contrib/pjdfstest/tests/open/19.t b/contrib/pjdfstest/tests/open/19.t index 4bc2df2a4313..e3c5b35fd96b 100644 --- a/contrib/pjdfstest/tests/open/19.t +++ b/contrib/pjdfstest/tests/open/19.t @@ -24,7 +24,7 @@ while :; do  	if [ $? -ne 0 ]; then  		break  	fi -	i=`expr $i + 1` +	i=$((i + 1))  done  expect ENOSPC open ${n0}/${i} O_RDONLY,O_CREAT 0644  umount /dev/md${n} diff --git a/contrib/pjdfstest/tests/symlink/11.t b/contrib/pjdfstest/tests/symlink/11.t index b1be674370ad..5d5e864674d6 100644 --- a/contrib/pjdfstest/tests/symlink/11.t +++ b/contrib/pjdfstest/tests/symlink/11.t @@ -24,7 +24,7 @@ while :; do  	if [ $? -ne 0 ]; then  		break  	fi -	i=`expr $i + 1` +	i=$((i + 1))  done  expect ENOSPC symlink test ${n0}/${n1}  umount /dev/md${n} diff --git a/contrib/pjdfstest/tests/truncate/12.t b/contrib/pjdfstest/tests/truncate/12.t index 98f3daeaf461..022f2cdae47a 100644 --- a/contrib/pjdfstest/tests/truncate/12.t +++ b/contrib/pjdfstest/tests/truncate/12.t @@ -22,7 +22,7 @@ EFBIG|EINVAL)  	;;  *)  	echo "not ok ${ntest}" -	ntest=`expr ${ntest} + 1` +	ntest=$((ntest + 1))  	;;  esac  expect 0 unlink ${n0} | 
