14 if ./fips -v "${dir}/${script}" | grep -q "fips: terminating"; then
18 errors=$((errors + 1))
22 echo "Testing fips with programs using different window-system interfaces to"
23 echo "OpenGL, different linking mechanisms, and different symbol-lookup."
26 printf " Window sys. Link-mode Lookup\n"
27 printf " ----------- ------------- -----------------\n"
29 printf "Testing GLX link to libGL direct calls ... "
32 printf "Testing GLX link to libGL glXGetProcAddress ... "
35 printf "Testing GLX link to libGL glXGetProcAddressARB ... "
38 printf "Testing GLX dlopen(libGL) dlsym ... "
41 printf "Testing GLX dlopen(libGL) glXGetProcAddress ... "
44 printf "Testing GLX dlopen(libGL) glXGetProcAddressARB ... "
47 printf "Testing EGL/OpenGL link to libEGL direct calls ... "
48 test egl-opengl-link-call
50 printf "Testing EGL/OpenGL link to libEGL eglGetProcAddress ... "
51 test egl-opengl-link-gpa
53 printf "Testing EGL/OpenGL dlopen(libGL) dlsym ... "
54 test egl-opengl-dlopen-dlsym
56 printf "Testing EGL/OpenGL dlopen(libGL) eglGetProcAddress ... "
57 test egl-opengl-dlopen-gpa
61 if [ $errors -gt 0 ]; then
62 echo "Error: $errors/$tests tests failed."
65 echo "All $tests tests passed."