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 " Win-sys Link-mode Lookup\n"
27 printf " ------- ------------- -----------------\n"
29 printf "Testing GLX link to libGL direct calls ... "
32 printf "Testing GLX dlopen(libGL) dlsym ... "
35 printf "Testing GLX dlopen(libGL) glXGetProcAddress ... "
38 printf "Testing GLX dlopen(libGL) glXGetProcAddressARB ... "
43 if [ $errors -gt 0 ]; then
44 echo "Error: $errors/$tests tests failed."
47 echo "All $tests tests passed."