]> git.ipfire.org Git - thirdparty/openssh-portable.git/commitdiff
upstream: ssh conch interop tests requires a controlling terminal;
authoranton@openbsd.org <anton@openbsd.org>
Wed, 25 Oct 2023 08:01:59 +0000 (08:01 +0000)
committerDarren Tucker <dtucker@dtucker.net>
Thu, 26 Oct 2023 12:44:53 +0000 (23:44 +1100)
ok dtucker@

OpenBSD-Regress-ID: cbf2701bc347c2f19d907f113779c666f1ecae4a

regress/conch-ciphers.sh

index 37b363e81d9da73665daf07aac462aecc6240240..f4202584e8e6ad4d2cc15b2d59cc7c4ae3953fc3 100644 (file)
@@ -1,11 +1,14 @@
-#      $OpenBSD: conch-ciphers.sh,v 1.5 2023/10/23 11:30:49 anton Exp $
+#      $OpenBSD: conch-ciphers.sh,v 1.6 2023/10/25 08:01:59 anton Exp $
 #      Placed in the Public Domain.
 
 tid="conch ciphers"
 
 if test "x$REGRESS_INTEROP_CONCH" != "xyes" ; then
-       echo "conch interop tests not enabled"
-       exit 0
+       fatal "conch interop tests not enabled"
+fi
+
+if ! [ -t 0 ]; then
+       skip "conch interop tests requires a controlling terminal"
 fi
 
 start_sshd