diff options
Diffstat (limited to 'tools/regression/geom_nop/conf.sh')
-rw-r--r-- | tools/regression/geom_nop/conf.sh | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/tools/regression/geom_nop/conf.sh b/tools/regression/geom_nop/conf.sh index 0dc9797..e38e10c 100644 --- a/tools/regression/geom_nop/conf.sh +++ b/tools/regression/geom_nop/conf.sh @@ -4,4 +4,11 @@ class="nop" base=`basename $0` +gnop_test_cleanup() +{ + [ -c /dev/${us}.nop ] && gnop destroy ${us}.nop + geom_test_cleanup +} +trap gnop_test_cleanup ABRT EXIT INT TERM + . `dirname $0`/../geom_subr.sh |