1 #!/bin/sh 2 3 if [ -z "$1" ]; then 4 echo "Usage: move_pages.sh <test-number>" 5 exit 1 6 fi 7 8 testprog=move_pages${1} 9 10 if [ -f $LTPROOT/testcases/bin/${testprog} ]; then 11 exec $testprog 12 else 13 export TCID=$testprog 14 export TST_TOTAL=1 15 export TST_COUNT=0 16 tst_resm TCONF "libnuma and NUMA support is required for this testcase" 17 tst_exit 18 fi 19