1 2 3 4 5 6 7 8 9 10
#!/bin/sh SYSCTL="/proc/sys" TARGET="${SYSCTL}/vm/swappiness" ORIG=$(cat "${TARGET}") TEST_STR=$(( $ORIG + 1 )) . ./common_tests exit_test