This is an old revision of the document!
QC2-OPE-CFG
This is a set of tests to check the operation of the configuration files and become familiar with setting different options.
Prerequisite
- Stop kvalobs with bin/kvstop (rationale: run kvQc2 from the terminal to immediately analyse output)
| Step | Direction | Expected Result | Pass/Fail Criteria or Comment |
|---|---|---|---|
| 001 | cd $KVALOBS. Make a copy of the existing Qc2Config directory | – | – |
| $ tar cvf Qc2Config.tar Qc2Config/ | – | – | |
| Remove the Qc2Config directory. | – | – | |
| $ rm -r Qc2Config | – | – | |
| 002 | Run kvQc2 | – | – |
| bin/kvQc2 | Does not exist: /metno/kvalobs/Qc2Config/ | – | |
| Note: open a new shell to perform the following tasks and monitor the results in the bin/kvQc2 program output. The program will attempt to scan for a configuration file every 59s and a response is detected as described below. | – | – | |
| 003 | $ mkdir Qc2Config | Scanning For Files ;/metno/kvalobs/Qc2Config/ | – |
| 004 | $ touch Qc2Config/example.dat | - no response - | – |
| 005 | $ touch Qc2Config/example.dat |
Configuration File Found: /metno/kvalobs/Qc2Config/example.cfg 2010-03-24 23:35:31: 2010-03-24 23:00:00 → 2010-03-24 23:00:00 /metno/kvalobs/Qc2Config/example.cfg | – |
| 006 | Run kvQc2 | – | – |