Gitiles
Code Review
Sign In
gerrit-public.fairphone.software
/
kernel
/
msm-4.9
/
37ab366251167cd6e517a391143db13cc2d3d65c
/
.
/
tools
/
testing
/
selftests
/
sysctl
/
run_numerictests
blob: 8510f93f2d149ebb7ec199eab7be8d09bddc3bbf [
file
] [
log
] [
blame
]
Kees Cook
24fe831
2014-06-06 14:37:21 -0700
[
diff
] [
blame
]
1
#!/bin/sh
2
3
SYSCTL
=
"/proc/sys"
4
TARGET
=
"${SYSCTL}/vm/swappiness"
5
ORIG
=
$
(
cat
"${TARGET}"
)
6
TEST_STR
=
$
((
$ORIG
+
1
))
7
8
.
./
common_tests
9
10
exit $rc