- Timestamp:
- 06/29/2017 05:01:00 PM (7 years ago)
- Branches:
- 2.4
- Children:
- f7d1386
- Parents:
- e218205
- Location:
- common
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
common/create-sbu_du-report.sh
re218205 r6a7c218 6 6 LOGSDIR=$1 7 7 VERSION=$2 8 DATE=$3 8 9 9 10 LINE="================================================================================" … … 11 12 # Make sure that we have a directory as first argument 12 13 [[ ! -d "$LOGSDIR" ]] && \ 13 echo -e "\nUSAGE: create-sbu_du-report.sh logs_directory [book_version] \n" && exit14 echo -e "\nUSAGE: create-sbu_du-report.sh logs_directory [book_version] [date]\n" && exit 14 15 15 16 # Make sure that the first argument is a jhalfs logs directory … … 19 20 # If this script is run manually, the book version may be unknown 20 21 [[ -z "$VERSION" ]] && VERSION=unknown 22 [[ -z "$DATE" ]] && DATE=$(date --iso-8601) 21 23 22 24 # If there is iteration logs directories, copy the logs inside iteration-1 … … 26 28 27 29 # Set the report file 28 REPORT="$VERSION"-SBU_DU- $(date --iso-8601).report30 REPORT="$VERSION"-SBU_DU-"$DATE".report 29 31 30 32 [ -f $REPORT ] && : >$REPORT -
common/libs/func_book_parser
re218205 r6a7c218 143 143 xsltproc --nonet \ 144 144 --xinclude \ 145 --stringparam model $MODEL\146 --stringparam kernel $KERNEL\147 --stringparam testsuite $TEST\148 --stringparam bomb-testsuite $BOMB_TEST\145 --stringparam model "$MODEL" \ 146 --stringparam kernel "$KERNEL" \ 147 --stringparam testsuite "$TEST" \ 148 --stringparam bomb-testsuite "$BOMB_TEST" \ 149 149 --stringparam features \ 150 150 x$SSP$ASLR$PAX$HARDENED_TMP$WARNINGS$MISC$BLOWFISH \ 151 --stringparam timezone $TIMEZONE\152 --stringparam page $PAGE\153 --stringparam lang $LANG\154 --stringparam grsecurity_host $GRSECURITY_HOST\151 --stringparam timezone "$TIMEZONE" \ 152 --stringparam page "$PAGE" \ 153 --stringparam lang "$LANG" \ 154 --stringparam grsecurity_host "$GRSECURITY_HOST" \ 155 155 --output ./${PROGNAME}-commands/ \ 156 156 $XSL \
Note:
See TracChangeset
for help on using the changeset viewer.