1#!/bin/sh 2 3echo minicoredumper_demo 4echo expecting Segmentation fault with core dump ... 5 6minicoredumper_demo 6 & sleep 3 && minicoredumper_demo 7 8if ls /var/crash/ | grep minicoredumper; then 9 echo "PASS: minicoredumper" 10else 11 echo "FAIL: minicoredumper" 12fi 13