Fix invalid negative native wait tests.

eglNativeWait() will always succeed if current surface doesn't support
native rendering.

Bug: 20178024
Change-Id: I74eed3b4627da26408ee081ff0d5e908f58863c5
diff --git a/modules/egl/teglNegativeApiTests.cpp b/modules/egl/teglNegativeApiTests.cpp
index f15a906..3503c86 100644
--- a/modules/egl/teglNegativeApiTests.cpp
+++ b/modules/egl/teglNegativeApiTests.cpp
@@ -1371,10 +1371,10 @@
 				expectTrue(eglMakeCurrent(display, *surface, *surface, context));
 				expectError(EGL_SUCCESS);
 
-				log << TestLog::Section("Test1", "EGL_BAD_PARAMETER is generated if engine is not a recognized marking engine");
+				log << TestLog::Section("Test1", "EGL_BAD_PARAMETER is generated if engine is not a recognized marking engine and native rendering is supported by current surface");
 
-				expectFalse(eglWaitNative(-1));
-				expectError(EGL_BAD_PARAMETER);
+				eglWaitNative(-1);
+				expectEitherError(EGL_BAD_PARAMETER, EGL_NONE);
 
 				log << TestLog::EndSection;