Whamcloud - gitweb
LU-13601 llite: avoid needless large stats alloc
[fs/lustre-release.git] / lustre / tests / rpc.sh
1 #!/bin/bash
2
3 LUSTRE=${LUSTRE:-$(dirname $0)/..}
4
5 if [ ! -f $LUSTRE/tests/rpc.sh ]; then
6         LUSTRE=$(cd $(dirname $(which $0))/..; echo $PWD)
7 fi
8
9 . $LUSTRE/tests/test-framework.sh
10 RPC_MODE=true init_test_env
11
12 # Reset the trap on ERR set by the framework.  Noticing this failure is the
13 # framework's job.
14 trap - ERR
15
16 log "$HOSTNAME: executing $@"
17 # Execute the command
18 "$@"