summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorBaoyou Xie <[email protected]>2020-06-29 13:49:41 +0800
committerBaoyou Xie <[email protected]>2020-06-29 13:49:41 +0800
commit46a4a74ac703bcf4ab7d63b7384f20aecd770461 (patch)
tree92e9abd81c6ff75926daca8d559bbb23f12e7dcb /Makefile
parentf1c8f526b078719f2817c16c7faad1af7822a629 (diff)
diagnose-tools: 测试时添加ext4模块依赖
在插入模块时,需要探测ext4相关符号,因此强制执行如下命令: modprobe ext4
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile1
1 files changed, 1 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index 0a11e2d..5f30291 100644
--- a/Makefile
+++ b/Makefile
@@ -51,6 +51,7 @@ deb:
#sudo dpkg -i diagnose-tools*.deb
test:
+ modprobe ext4
insmod SOURCE/module/diagnose.ko || echo ""
sh ./SOURCE/script/test.sh
rmmod diagnose