Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 29 Jul 2017 22:03:21 +0000 (UTC)
From:      Ngie Cooper <ngie@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r321703 - head/tests/sys/geom/class/gate
Message-ID:  <201707292203.v6TM3LcU085029@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: ngie
Date: Sat Jul 29 22:03:21 2017
New Revision: 321703
URL: https://svnweb.freebsd.org/changeset/base/321703

Log:
  Remove superfluous `exit 0` added in r321702
  
  atf_skip triggers equivalent functionality, which means the `exit 0`
  is unreachable code.
  
  PR:		220164
  MFC after:	1 month
  MFC with:	r321702

Modified:
  head/tests/sys/geom/class/gate/ggate_test.sh

Modified: head/tests/sys/geom/class/gate/ggate_test.sh
==============================================================================
--- head/tests/sys/geom/class/gate/ggate_test.sh	Sat Jul 29 22:01:17 2017	(r321702)
+++ head/tests/sys/geom/class/gate/ggate_test.sh	Sat Jul 29 22:03:21 2017	(r321703)
@@ -209,7 +209,6 @@ load_ggate()
 	if ! kldstat -q -m g_${class}; then
 		if ! geom ${class} load; then
 			atf_skip "could not load module for geom class=${class}"
-			exit 0
 		fi
 	fi
 }



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201707292203.v6TM3LcU085029>