diff options
author | Darren Tucker <dtucker@cvs.openbsd.org> | 2015-05-04 01:47:54 +0000 |
---|---|---|
committer | Darren Tucker <dtucker@cvs.openbsd.org> | 2015-05-04 01:47:54 +0000 |
commit | fccf0f69b78793eee0d0bf1b5efd571a08f37322 (patch) | |
tree | 08a38395a00f325d968c5c284e1f22bc88cc998d /regress/usr.bin/ssh/cfgparse.sh | |
parent | bc2fc3a981e9f1e81a864da903f71bc8885ed881 (diff) |
Use diff w/out -u for better portability
Diffstat (limited to 'regress/usr.bin/ssh/cfgparse.sh')
-rw-r--r-- | regress/usr.bin/ssh/cfgparse.sh | 6 |
1 files 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 <<EOD @@ -44,7 +44,7 @@ addressfamily any 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 2" # cleanup |