diff options
Diffstat (limited to 'sanity/system_light/scripts/rpc-fops.sh~')
-rw-r--r-- | sanity/system_light/scripts/rpc-fops.sh~ | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/sanity/system_light/scripts/rpc-fops.sh~ b/sanity/system_light/scripts/rpc-fops.sh~ new file mode 100644 index 0000000..07d2b89 --- /dev/null +++ b/sanity/system_light/scripts/rpc-fops.sh~ @@ -0,0 +1,20 @@ +#!/bin/bash + +function main () +{ + set -x; + SCRIPTS_DIR=$(dirname $0); + + echo "start: $(date +%T)"; + #time $SCRIPTS_PATH/rpc-coverage.sh $THIS_TEST_DIR 2>>$LOG_FILE 1>>$LOG_FILE; + time $SCRIPTS_DIR/rpc-coverage.sh $THIS_TEST_DIR 2>>$LOG_FILE 1>>$LOG_FILE; + if [ $? -ne 0 ]; then + echo "end: $(date +%T)"; + return 22; + else + echo "end: $(date +%T)"; + return 0; + fi +} + +main "$@"
\ No newline at end of file |