zrepl/zfs/test_helpers/exec_mapping_good.sh

19 lines
243 B
Bash
Raw Permalink Normal View History

#!/bin/bash
while read line # we know this is not always correct...
do
if [[ "$line" =~ nomap* ]]; then
echo "NOMAP"
continue
fi
echo "didmap/${line}"
if [ "$1" == "stop" ]; then
break
fi
done