OSDN Git Service
(root)
/
android-x86
/
system-extras.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7082788
)
Simple checks to make sure /dev/mem and /dev/kmem do not exist.
author
Chris Palmer
<palmer@google.com>
Thu, 23 Jul 2009 23:48:44 +0000
(16:48 -0700)
committer
Chris Palmer
<palmer@google.com>
Thu, 23 Jul 2009 23:48:44 +0000
(16:48 -0700)
tests/fstest/mounts-test.sh
patch
|
blob
|
history
diff --git
a/tests/fstest/mounts-test.sh
b/tests/fstest/mounts-test.sh
index
80a2416
..
1919750
100755
(executable)
--- a/
tests/fstest/mounts-test.sh
+++ b/
tests/fstest/mounts-test.sh
@@
-19,5
+19,16
@@
do
fi
done
+for i in mem kmem
+do
+ adb shell ls /dev/*mem | grep -q $i
+ if [ 0 -ne $? ]
+ then
+ echo FAILURE: $i is present on system
+ rtrn=$(expr $rtrn + 1)
+ fi
+
+done
+
exit $rtrn