1 2 3 4 5 6 7 8 9
#!/bin/sh ./libopenmpttest >/dev/null 2>&1 if [ $? -eq 0 ]; then echo "PASS: libopenmpttest" else echo "FAIL: libopenmpttest" fi