Workaround Alchemy task not beeing waken up when closing file descriptor it is waiting on, sequel of Xenomai3 all posix file ops
#!/bin/sh
module="canf_ktest"
device="canf_ktest"
/sbin/rmmod $module || exit 1
/sbin/rmmod canfestival
/sbin/rmmod can_virtual
rm -f /dev/${device}