|
Size: 2090
Comment:
|
Size: 2541
Comment:
|
| Deletions are marked like this. | Additions are marked like this. |
| Line 1: | Line 1: |
| = Block-01-02 - TEST DIRECTORY SET-UP - TEST = | ## page was renamed from Block-1B - TEST DIRECTORY SET-UP - TEST ## page was renamed from Block-01-02 - TEST DIRECTORY SET-UP - TEST = Block-1B - TEST DIRECTORY SET-UP - TEST = |
| Line 7: | Line 9: |
| ## BLOCK 01-02 ## | ## BLOCK 1B ## |
| Line 30: | Line 32: |
| ## User has completed the processing steps comprising Block 01-01 - TEST DIRECTORY | ## User has completed the processing steps comprising Block 1A - TEST DIRECTORY |
| Line 37: | Line 39: |
| ## (for example, Block-01-02-TestDirSetUp-Test-F3G1) | ## (for example, Block-1B-TestDirSetUp-Test-F3G1) |
| Line 41: | Line 43: |
| testID=F3G-Nav #subTestID=F3G1 #subTestID=F3G2 #subTestID=F3G3 #subTestID=F3G4 #subTestID=F3G5 #subTestID=F3G6 subTestID=F3G7 blockID=Block-01-02-TestDirSetUp-Test-${subTestID} |
export testID=F3G-Nav export subTestID=F3G1 #export subTestID=F3G2 #export subTestID=F3G3 #export subTestID=F3G4 #export subTestID=F3G5 #export subTestID=F3G6 #export subTestID=F3G7 export blockID=Block-1B-TestDirSetUp-Test-${subTestID} |
| Line 54: | Line 56: |
# Display user inputs echo $testID echo $subTestID echo $blockID |
|
| Line 62: | Line 70: |
| date | |
| Line 63: | Line 72: |
| Line 67: | Line 77: |
# OPTION 1: OVERWRITE TYPESCRIPT LOG |
|
| Line 68: | Line 80: |
| # END OF OPTION 1 # OPTION 2: APPEND TYPESCRIPT LOG cat typescript >> /SPC_Test/$testID/log/log-typescript-${blockID} # END OF OPTION 2 |
Block-1B - TEST DIRECTORY SET-UP - TEST
##########################################################################
## ##
## BLOCK 1B ##
## TEST DIRECTORY SET-UP - TEST ##
## ##
##########################################################################
## This block populates an F3 test sub-directory from the F3 orig sub-directory
## in readiness for sensitivity testing
## Assumptions:
## User has invoked a Bourne-Again Shell (bash) on ormacsrv1.lpl.arizona.edu
## User is a member of the group OREX\spc
## User has set up a skeleton directory in the following format:
## /SPC_Test/F3G-Nav/
## ORex/
## DATA/
## base/
## IMAGEFILES/
## SHAPEFILES/
## lsupport/
## orig/
## results/
## test/
## User has completed the processing steps comprising Block 1A - TEST DIRECTORY
## SET-UP - ORIG
## User inputs:
## testID: Name of the F3 test directory (for example, F3E-Limbs)
## subTestID: (if required) Identifier for sub-test work (for example, F3G1)
## blockID: User-specified identifier for typescript textfile name
## (for example, Block-1B-TestDirSetUp-Test-F3G1)
# User inputs:
export testID=F3G-Nav
export subTestID=F3G1
#export subTestID=F3G2
#export subTestID=F3G3
#export subTestID=F3G4
#export subTestID=F3G5
#export subTestID=F3G6
#export subTestID=F3G7
export blockID=Block-1B-TestDirSetUp-Test-${subTestID}
# Set-Up
cd /SPC_Test/$testID
script
# Display user inputs
echo $testID
echo $subTestID
echo $blockID
date
pwd
ls -l
rsync --delete -ha orig/ test/
ls -l test
# Block Complete
date
exit
# Save block log
if [ ! -d /SPC_Test/$testID/log ]; then
mkdir /SPC_Test/$testID/log
fi
# OPTION 1: OVERWRITE TYPESCRIPT LOG
mv typescript /SPC_Test/$testID/log/log-typescript-${blockID}
# END OF OPTION 1
# OPTION 2: APPEND TYPESCRIPT LOG
cat typescript >> /SPC_Test/$testID/log/log-typescript-${blockID}
# END OF OPTION 2