1#!/bin/bash 2 3[ -f testing.sh ] && . testing.sh 4 5#testing "name" "command" "result" "infile" "stdin" 6 7ln -s "$(which sleep)" xiphoid 8(./xiphoid 5 & echo $! > pid.txt) 9ID=$(cat pid.txt) 10NOSPACE=1 testing "" "ps -o pid $ID" "PID\n$ID\n" "" "" 11kill "$ID" 12