Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 27 May 2017 23:23:22 +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: r319010 - head/lib/libkvm/tests
Message-ID:  <201705272323.v4RNNMYI065564@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: ngie
Date: Sat May 27 23:23:22 2017
New Revision: 319010
URL: https://svnweb.freebsd.org/changeset/base/319010

Log:
  Fix #if conditional added in r319008
  
  I committed an earlier version of the file by accident
  
  This is a no-op on ^/head and ^/stable/11.
  
  MFC after:	now
  Sponsored by:	Dell EMC Isilon

Modified:
  head/lib/libkvm/tests/kvm_geterr_test.c

Modified: head/lib/libkvm/tests/kvm_geterr_test.c
==============================================================================
--- head/lib/libkvm/tests/kvm_geterr_test.c	Sat May 27 23:20:28 2017	(r319009)
+++ head/lib/libkvm/tests/kvm_geterr_test.c	Sat May 27 23:23:22 2017	(r319010)
@@ -56,6 +56,8 @@ ATF_TC_BODY(kvm_geterr_negative_test_NUL
 	ATF_REQUIRE(!errbuf_has_error(kvm_geterr(NULL)));
 }
 
+/* 1100090 was where kvm_open2(3) was introduced. */
+#if __FreeBSD_version >= 1100091
 ATF_TC(kvm_geterr_positive_test_error);
 ATF_TC_HEAD(kvm_geterr_positive_test_error, tc)
 {
@@ -65,8 +67,6 @@ ATF_TC_HEAD(kvm_geterr_positive_test_err
 	atf_tc_set_md_var(tc, "require.user", "root");
 }
 
-/* 1100090 was where kvm_open2(3) was introduced. */
-#if __FreeBSD_version >= 1100091
 ATF_TC_BODY(kvm_geterr_positive_test_error, tc)
 {
 	kvm_t *kd;



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