How to Test Directory Set-Up V0

Description

This block populates an F3 test directory from the F3-base directory. It clears and re-populates the working directory (ORIG) and updates the .DAT file directory (base/IMAGEFILES) in readiness for sensitivity testing.

Assumptions

/SPC_Test/F3G-Nav/
                   ORex/
                            DATA/
                   base/
                            IMAGEFILES/
                            SHAPEFILES/
                   lsupport/
                   orig/
                   results/
                   test/

User inputs

Process

1. Initial user inputs

testID=F3G-Nav
blockID=Block-01-01-TestDirSetUp-Orig

2. Set-Up

cd /SPC_Test/$testID
script
date
pwd
ls -l

3. Sync to F3-base directory

rsync --delete -ha ../F3-base/orig .
rsync -ha ../F3-base/base/IMAGEFILES base/

4. VARIANCE-F3G

rm orig/DATA
ln -s ../ORex/DATA orig/DATA

5. Print details

ls -l orig
cat orig/README
ls -l base/IMAGEFILES
cat base/IMAGEFILES/README

6. Block Complete

exit

7. Save block log

if [ ! -d /SPC_Test/$testID/log ]; then
  mkdir /SPC_Test/$testID/log
fi
mv typescript /SPC_Test/$testID/log/log-typescript-${blockID}


(Compiled by DL)

CategoryHowTos

How to Test Directory Set-Up V0 (last edited 2016-02-17 10:01:31 by BMittan)