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