The following test set: fix: Bug for getrusage return incorrect ru_maxrss fix: Bug for getrusage(RUSAGE_CHILDREN) return parent info (POSTK_DEBUG_TEMP_FIX_72) fix: Bug for getrusage often return incorrect ru_stime Change-Id: I6734b1e34565d5d2715f9901a04ba5b6f0278032 Refs: #1032 Refs: #1033 Refs: #1034
13 lines
180 B
Bash
Executable File
13 lines
180 B
Bash
Executable File
#!/bin/sh
|
|
|
|
MOD_NAME="test_driver"
|
|
|
|
lsmod | grep ${MOD_NAME} &> /dev/null
|
|
|
|
if [ $? -eq 1 ]; then
|
|
echo "Module test_driver is not currently loaded"
|
|
else
|
|
sudo rmmod ${MOD_NAME}
|
|
fi
|
|
|