diff --git a/continuousintegration/orchestration/tests/client_ar.sh b/continuousintegration/orchestration/tests/client_ar.sh index 7d135d2387a13411499bc146af8f9dd6ac58d03d..dcd5007985915a5ce66a4640b1493cea1644cd26 100644 --- a/continuousintegration/orchestration/tests/client_ar.sh +++ b/continuousintegration/orchestration/tests/client_ar.sh @@ -3,6 +3,7 @@ EOSINSTANCE=ctaeos EOS_BASEDIR=/eos/ctaeos/cta TEST_FILE_NAME_BASE=test +DATA_SOURCE=/dev/urandom NB_PROCS=1 NB_FILES=1 @@ -18,12 +19,12 @@ die() { usage() { cat <<EOF 1>&2 -Usage: $0 [-n <nb_files>] [-s <file_kB_size>] [-p <# parallel procs>] [-v] [-d <eos_dest_dir>] [-e <eos_instance>] +Usage: $0 [-n <nb_files>] [-s <file_kB_size>] [-p <# parallel procs>] [-v] [-d <eos_dest_dir>] [-e <eos_instance>] [-S <data_source_file>] EOF exit 1 } -while getopts "d:e:n:s:p:v" o; do +while getopts "d:e:n:s:p:vS:" o; do case "${o}" in e) EOSINSTANCE=${OPTARG} @@ -43,6 +44,9 @@ while getopts "d:e:n:s:p:v" o; do v) VERBOSE=1 ;; + S) + DATA_SOURCE=${OPTARG} + ;; *) usage ;;