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
52 if [ $errors -gt 0 ]; then
53 echo "Error: $errors/$tests tests failed."
56 echo "All $tests tests passed."