• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1#!/bin/sh
2
3if [ -z "$1" ]; then
4    echo "Usage: move_pages.sh <test-number>"
5    exit 1
6fi
7
8testprog=move_pages${1}
9
10if [ -f $LTPROOT/testcases/bin/${testprog} ]; then
11    exec $testprog
12else
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
18fi
19