From feb6f7f24424105e649dbb2b3433352eb29b6764 Mon Sep 17 00:00:00 2001 From: Darren Tucker Date: Tue, 8 Feb 2005 20:17:17 +1100 Subject: [PATCH] - (dtucker) [regress/test-exec.sh] Bug #912: Set _POSIX2_VERSION for the regress tests so newer versions of GNU head(1) behave themselves. Patch by djm, so ok me. --- ChangeLog | 7 ++++++- regress/test-exec.sh | 4 ++++ 2 files changed, 10 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index 9c36570c6..841c7bd32 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +20050208 + - (dtucker) [regress/test-exec.sh] Bug #912: Set _POSIX2_VERSION for the + regress tests so newer versions of GNU head(1) behave themselves. Patch + by djm, so ok me. + 20050204 - (dtucker) [monitor.c] Permit INVALID_USER audit events from slave too. - (dtucker) [auth.c] Fix parens in audit log check. @@ -2076,4 +2081,4 @@ - (djm) Trim deprecated options from INSTALL. Mention UsePAM - (djm) Fix quote handling in sftp; Patch from admorten AT umich.edu -$Id: ChangeLog,v 1.3636 2005/02/04 04:19:44 dtucker Exp $ +$Id: ChangeLog,v 1.3637 2005/02/08 09:17:17 dtucker Exp $ diff --git a/regress/test-exec.sh b/regress/test-exec.sh index a57e46e59..4f10c2ba1 100644 --- a/regress/test-exec.sh +++ b/regress/test-exec.sh @@ -3,6 +3,10 @@ #SUDO=sudo +# Unbreak GNU head(1) +_POSIX2_VERSION=199209 +export _POSIX2_VERSION + if [ ! -z "$TEST_SSH_PORT" ]; then PORT="$TEST_SSH_PORT" else