svn commit: r318099 - head/tests/sys/aio

Ngie Cooper ngie at FreeBSD.org
Tue May 9 19:20:04 UTC 2017


Author: ngie
Date: Tue May  9 19:20:02 2017
New Revision: 318099
URL: https://svnweb.freebsd.org/changeset/base/318099

Log:
  Print out when unsafe AIO is enabled to debugging purposes
  
  MFC after:	3 weeks
  Sponsored by:	Dell EMC Isilon

Modified:
  head/tests/sys/aio/local.h

Modified: head/tests/sys/aio/local.h
==============================================================================
--- head/tests/sys/aio/local.h	Tue May  9 19:16:18 2017	(r318098)
+++ head/tests/sys/aio/local.h	Tue May  9 19:20:02 2017	(r318099)
@@ -65,6 +65,7 @@ is_unsafe_aio_enabled(void)
 		atf_tc_skip("Unsafe AIO is disabled");				\
 		break;								\
 	default:								\
+		printf("Unsafe AIO is enabled\n");				\
 		break;								\
 	}									\
 } while (0)
@@ -80,6 +81,7 @@ is_unsafe_aio_enabled(void)
 		_exit(_exit_code);						\
 		break;								\
 	default:								\
+		printf("Unsafe AIO is enabled\n");				\
 		break;								\
 	}									\
 } while (0)


More information about the svn-src-head mailing list