• Home
  • Raw
  • Download

Lines Matching full:sysctl

15 # This performs a series tests against the proc sysctl interface.
20 TEST_NAME="sysctl"
52 if [ -z $SYSCTL ]; then
53 SYSCTL="/proc/sys/debug/test_sysctl"
116 if [ ! -d $SYSCTL ]; then
223 echo "== Testing sysctl behavior against ${TARGET} =="
236 echo -n "Checking sysctl is not set to test value ... "
244 echo -n "Writing sysctl from shell ... "
253 echo -n "Resetting sysctl to original value ... "
266 echo -n "Writing entire sysctl in single write ... "
276 echo -n "Writing middle of sysctl after synchronized seek ... "
286 echo -n "Writing beyond end of sysctl ... "
296 echo -n "Writing sysctl with multiple long writes ... "
329 # sysctl conversion functions receive a boolean sign and ulong
333 # uint-typed sysctl should fail.
552 echo -n "Writing entire sysctl in short writes ... "
562 echo -n "Writing middle of sysctl after unsynchronized seek ... "
572 echo -n "Checking sysctl maxlen is at least $MAXLEN ... "
583 echo -n "Checking sysctl keeps original string on overflow append ... "
594 echo -n "Checking sysctl stays NULL terminated on write ... "
605 echo -n "Checking sysctl stays NULL terminated on overwrite ... "
621 TARGET="${SYSCTL}/$1"
682 TARGET="${SYSCTL}/$(get_test_target 0001)"
694 TARGET="${SYSCTL}/$(get_test_target 0002)"
697 TEST_STR="Testing sysctl"
707 TARGET="${SYSCTL}/$(get_test_target 0003)"
720 TARGET="${SYSCTL}/$(get_test_target 0004)"
733 TARGET="${SYSCTL}/$(get_test_target 0005)"
742 TARGET="${SYSCTL}/bitmap_0001"
750 TARGET="${SYSCTL}/boot_int"
776 FOUND=$(grep -c "sysctl[./]debug[./]test_sysctl[./]boot_int=1" /proc/cmdline)
784 …echo "To perform this test, make sure kernel is booted with parameter: sysctl.debug.test_sysctl.bo…
802 echo "0007 x $(get_test_count 0007) - tests setting sysctl from kernel boot param"