Changeset 8438
- Timestamp:
- 07/14/10 18:32:21 (3 years ago)
- Files:
-
- 1 modified
Legend:
- Unmodified
- Added
- Removed
-
branches/Orange-Branch/test/automated/vfs-tests.d/ltp
r8419 r8438 1 1 #!/bin/bash 2 3 #default URL, in case this script is run separately 4 if [ ! $URL ] 5 then 6 URL=http://devorange.clemson.edu/pvfs 7 fi 2 8 3 9 LTPVER="20081130" 4 10 THISDATE=`date +%F-%R` 5 #DOWNLOAD="http://www-unix.mcs.anl.gov/~carns/nightly-download/ltp-full-${LTPVER}.tgz" 11 BENCHMARK=ltp-full-${LTPVER}.tgz 12 DOWNLOAD=${URL}/${BENCHMARK} 6 13 7 14 cd ${EXTRA_TESTS} 8 15 9 16 # get rid of any old copies 10 sudo rm -rf ltp-full-${LTPVER} 17 sudo rm -rf ltp-full-${LTPVER} 18 sudo rm -f ltp-full-${LTPVER}.tgz 11 19 12 20 # download 13 #echo Downloading LTP...14 #wget -q ${DOWNLOAD} > /dev/null15 #if [ "${?}" != 0 ]16 #then17 #echo "Error: failed to download ${DOWNLOAD}."18 #exit 1;19 #fi21 echo Downloading LTP... 22 wget -q ${DOWNLOAD} > /dev/null 23 if [ "${?}" != 0 ] 24 then 25 echo "Error: failed to download ${DOWNLOAD}." 26 exit 1; 27 fi 20 28 21 tar -xvzf ltp-full-${LTPVER}.tgz> /dev/null29 tar -xvzf ${BENCHMARK} > /dev/null 22 30 if [ "${?}" != 0 ] 23 31 then
