tests/module_reload: fail if the module didn't unload

Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=70336
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
This commit is contained in:
Daniel Vetter 2013-10-10 11:22:09 +02:00
parent f014878722
commit 8a9b275b96

View File

@ -40,3 +40,5 @@ echo 1 > /sys/class/vtconsole/vtcon1/bind
# try to run something # try to run something
$SOURCE_DIR/gem_exec_nop > /dev/null && echo "module successfully loaded again" $SOURCE_DIR/gem_exec_nop > /dev/null && echo "module successfully loaded again"
exit $exitcode