From a64a8ee8d80f95a7932f5ed9e324caa7a2138449 Mon Sep 17 00:00:00 2001 From: dtucker Date: Mon, 4 May 2015 01:47:53 +0000 Subject: [PATCH] Use diff w/out -u for better portability --- regress/usr.bin/ssh/cfgparse.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/regress/usr.bin/ssh/cfgparse.sh b/regress/usr.bin/ssh/cfgparse.sh index 35e1312bd1d..2046bb1674c 100644 --- a/regress/usr.bin/ssh/cfgparse.sh +++ b/regress/usr.bin/ssh/cfgparse.sh @@ -1,4 +1,4 @@ -# $OpenBSD: cfgparse.sh,v 1.2 2015/04/29 05:23:27 dtucker Exp $ +# $OpenBSD: cfgparse.sh,v 1.3 2015/05/04 01:47:53 dtucker Exp $ # Placed in the Public Domain. tid="config parse" @@ -32,7 +32,7 @@ listenaddress ::1 EOD ($SUDO ${SSHD} -T -f $OBJ/sshd_config.1 | \ grep 'listenaddress ' >$OBJ/sshd_config.2 && - diff -u $OBJ/sshd_config.0 $OBJ/sshd_config.2) || \ + diff $OBJ/sshd_config.0 $OBJ/sshd_config.2) || \ fail "listenaddress order 1" # test 2: listenaddress first cat > $OBJ/sshd_config.1 <$OBJ/sshd_config.2 && - diff -u $OBJ/sshd_config.0 $OBJ/sshd_config.2) || \ + diff $OBJ/sshd_config.0 $OBJ/sshd_config.2) || \ fail "listenaddress order 2" # cleanup -- 2.20.1