8/7/2019 AP File Processing
1/422
TEST INSTRUCTION 1 (423)
UABMAHM UAB/I/LT 2/1521 -ANZ 217 30 Uen
- - 1999-02-10 B
Uppgjord Prepared Faktaansvarig Subject responsible Nr No.
Dokansv/Godk Doc respons/Approved Kontr Checked Datum Date Rev File
E
AP File Processing
Abstract
Contents Page
1 Prerequisites 21.1 Scope of the Test Object 21.2 Test Tools 21.3 Test Configuration 21.4 Abbreviations 2
2 Preparations 42.1 Test Environment 42.2 Supplement to Test Cases 42.3 Manual Preparations 5
3 Requirement-Based Tests 103.1 File Functions 10
4 Design-Based Tests 984.1 Manual Pages 984.2 Printout Description 221
5 Miscellaneous Tests 2505.1 -GROUP!Verfication of Operational Documents 2505.2 -GROUP!Restarts and Simulated Faults 2505.3 -GROUP!Multiple Files and Volumes 3045.4 -GROUP!Change Commands During Reporting of Subfiles 3445.5 -GROUP!Mixed Traffic Cases 3715.6 -GROUP!Pre-Stability Test 400
5.7 -GROUP!Forlopp Releases 408
6 References 422
http://-/?-http://-/?-http://-/?-http://-/?-http://-/?-http://-/?-http://-/?-http://-/?-http://-/?-http://-/?-http://-/?-http://-/?-http://-/?-http://-/?-http://-/?-http://-/?-http://-/?-http://-/?-http://-/?-http://-/?-http://-/?-http://-/?-http://-/?-http://-/?-http://-/?-http://-/?-http://-/?-http://-/?-http://-/?-http://-/?-http://-/?-http://-/?-http://-/?-http://-/?-http://-/?-http://-/?-http://-/?-http://-/?-http://-/?-http://-/?-http://-/?-http://-/?-http://-/?-http://-/?-http://-/?-http://-/?-8/7/2019 AP File Processing
2/422
TEST INSTRUCTION 2 (423)
2/1521 -ANZ 217 30 Uen
1999-02-10 B
Nr No.
Datum Date Rev File
E
1 Prerequisites
1.1 Scope of the Test Object
The purpose of this document is to specify the testing to verify the functionality,requirements and stability of the object AP File Processing in the MIO phase2 project and Instant File Output in the Miramis project. The functionalityof AP File Processing and Instant File Output is described in the FunctionSpecification (FS) 2/155 17-ANZ 217 30 Uen.
1.2 Test Tools
1.2.1 Hardware Tools
-
1.2.2 Software Tools
Table 1
Tool Product number Usage Comment
YATSI CAL 109 170 Traffic Generator CP Block
See also YATSI Users Guide 1553-CNL 105135
Rpcserver:The Rpcserver is a test tool used when testing Instant File Output (IFO) on theAP. The tool is a simple C++ procedure with server stub part generated byrpcgen. Rpcgen makes all the Remote Procedure Call (RPC) implementationthat is necessary. The functionality of the tool is to receive data over RPC, writethe data to disk and the acknowledge the sending client. The data is writtento the directory "/tmp/IFO/mainfilename/subfile_no", where mainfilenameis the name of the mainfile in the AP and subfile_no is the number of thesubfile in the AP, on the machine where it is started. For every rpc call that ismade to the rpcserver the active subfile is opened and data is written to it.The rpcserver is made very simple and stupid in order to make it easier to
find faults in the sending part of IFO.
1.3 Test Configuration
1.3.1 HW Configuration
In the project Miramis the configuration 1 is used seeTest Plan (3/152 81-FCP 105 0053).
1.4 Abbreviations
AP Adjunct Processor
AFP AP File Processing
8/7/2019 AP File Processing
3/422
TEST INSTRUCTION 3 (423)
2/1521 -ANZ 217 30 Uen
1999-02-10 B
Nr No.
Datum Date Rev File
E
ETH Ethernet
IFO Instant File Output
IP Internet Protocol
STOC Signaling Terminal Open Communication
WS Work Station (Unix)
8/7/2019 AP File Processing
4/422
TEST INSTRUCTION 4 (423)
2/1521 -ANZ 217 30 Uen
1999-02-10 B
Nr No.
Datum Date Rev File
E
2 Preparations
2.1 Test Environment
2.2 Supplement to Test Cases
2.2.1 Eventlog
To see events on the AP use a command tool and print events in sll.Log on to the AP. Use the command: sll -t . -pWith this syntax the events are printed when they appear.
8/7/2019 AP File Processing
5/422
TEST INSTRUCTION 5 (423)
2/1521 -ANZ 217 30 Uen
1999-02-10 B
Nr No.
Datum Date Rev File
E
2.3 Manual Preparations
!----------------------------------------------------------!
! P R E P A R A T I O N !
!----------------------------------------------------------!
-PREPARE
ACTION: Create a composite main file.
$ cpfmkfile -l 1024 -c AFPCOMP01 TEMPVOLUME
RESULT: No error message.
ACTION: Create subfiles.
$ cpfmkfile AFPCOMP01-SUBFILE01
$ cpfmkfile AFPCOMP01-SUBFILE02
$ cpfmkfile AFPCOMP01-SUBFILE03
$ cpfmkfile AFPCOMP01-SUBFILE-001
$ cpfmkfile AFPCOMP01-SUBFILE-002
$ cpfmkfile AFPCOMP01-SUBFILE-003
$ cpfmkfile AFPCOMP01-SUBFILE-GEN1
$ cpfmkfile AFPCOMP01-SUBFILE-GEN2
ACTION: Create five infinite files.
$ cpfmkfile -f inf -l 1024 -s 50 INFINITE01 TEMPVOLUME
$ cpfmkfile -f inf -l 1024 -t 5 -r INFFILE TEMPVOLUME
$ cpfmkfile -f inf -l 1024 -s 50 IFOFILE1 TEMPVOLUME
$ cpfmkfile -f inf -l 1024 -s 50 INFIFO1 TEMPVOLUME
$ cpfmkfile -f inf -l 1024 NOSIZE TEMPVOLUME
RESULT: No error message.
ACTION: Create two simple files.
$ cpfmkfile -l 1024 AFPSIMPLE01 TEMPVOLUME
$ cpfmkfile -l 1024 AFPSIMPLE02 TEMPVOLUME
RESULT: No error message.
ACTION: List the composed files.
8/7/2019 AP File Processing
6/422
TEST INSTRUCTION 6 (423)
2/1521 -ANZ 217 30 Uen
1999-02-10 B
Nr No.
Datum Date Rev File
E
$ cpfls -s
RESULT:
CPF FILE TABLE
FILE TYPE CMP VOLUME
AFPCOMP01 reg yes volume
SUBFILES
AFPCOMP01-SUBFILE-001
AFPCOMP01-SUBFILE-002
AFPCOMP01-SUBFILE-003
AFPCOMP01-SUBFILE-GEN1
AFPCOMP01-SUBFILE01
AFPCOMP01-SUBFILE02
AFPCOMP01-SUBFILE03
FILE TYPE CMP VOLUME
AFPSIMPLE01 reg no volume
FILE TYPE CMP VOLUME
AFPSIMPLE02 reg no volume
FILE TYPE CMP VOLUME
INFINITE01 inf TEMPVOLUME
FILE TYPE CMP VOLUME
INFFILE inf TEMPVOLUME
FILE TYPE CMP VOLUME
IFOFILE inf TEMPVOLUME
FILE TYPE CMP VOLUME
INFIFO1 inf TEMPVOLUME
FILE TYPE CMP VOLUME
NOSIZE inf TEMPVOLUME
ACTION: Create two Unix files.
$ touch unix01
$ touch unix02
RESULT: No error message
ACTION: List the unix files.
8/7/2019 AP File Processing
7/422
TEST INSTRUCTION 7 (423)
2/1521 -ANZ 217 30 Uen
1999-02-10 B
Nr No.
Datum Date Rev File
E
$ ls $HOME/unix*
RESULT: $ HOME/unix01 $HOME/unix02
COMMENT: Make sure that apioadm have write access were your
$HOME is mounted or ask root to create the following
directory at the mounting point of your $HOME:
drwxrws--- 2 apioadm apio 96 Mar 11 18:19 .afp_hardlinkdir
-ENDPREPARE
8/7/2019 AP File Processing
8/422
TEST INSTRUCTION 8 (423)
2/1521 -ANZ 217 30 Uen
1999-02-10 B
Nr No.
Datum Date Rev File
E
!----------------------------------------------------------!! R E S T O R A T I O N !
!----------------------------------------------------------!
-RESTORE
ACTION: Remove the simple files
$ cpfrm AFPSIMPLE01
$ cpfrm AFPSIMPLE02
RESULT: No error message.
ACTION: Remove the composite main file and
its subfiles.
$ cpfrm -r AFPCOMP01
RESULT: No error message.
ACTION: Remove the infinite INFINITE01 file and
its subfiles.
$ cpfrm -r INFINITE01
RESULT: No error message.
ACTION: Remove the infinite file INFFILE and
its subfiles.
$ cpfrm -r INFFILE
RESULT: No error message.
ACTION: Remove the IFO file IFOFILE1 and
its subfiles.
$ cpfrm -r IFOFILE1
RESULT: No error message.
ACTION: Remove the IFO file INFIFO1 and
its subfiles.
$ cpfrm -r INFIFO1
ACTION: Remove the IFO file NOSIZE and
its subfiles.
$ cpfrm -r NOSIZE
RESULT: No error message.
8/7/2019 AP File Processing
9/422
TEST INSTRUCTION 9 (423)
2/1521 -ANZ 217 30 Uen
1999-02-10 B
Nr No.
Datum Date Rev File
E
ACTION: List all files.
cpfls -s
RESULT: $
COMMENT: The removed files shall not
be present in the list.
ACTION: Remove the Unix files.
$ rm $HOME/unix01
$ rm $HOME/unix02
RESULT: No error message.
ACTION: List the unix files.
$ ls $HOME/unix*
RESULT:
UX:ls: ERROR: Cannot access $HOME/unix*: No such file or directory
-ENDRESTORE
8/7/2019 AP File Processing
10/422
TEST INSTRUCTION 10 (423)
2/1521 -ANZ 217 30 Uen
1999-02-10 B
Nr No.
Datum Date Rev File
E
3 Requirement-Based Tests
3.1 File Functions
3.1.1 -GROUP!Define Files
3.1.1.1 -TCMAN!Define a Composite Main File to AFP
ENVIRONMENT: TAR
REQUIREMENT: AP FILE PROCESSING2/155 17-ANZ 217 30 Uen Rev B
ADDITIONAL INFORMATION:The purpose of this test case is to verify that it is possible to define acomposite main file to AFP.
ACTION: Define the composite main file AFPCOMP01
to AFP.
$ afpdef AFPCOMP01 dest
RESULT: No error message.
ACTION: List the file attributes.
$ afpls -a
RESULT:
FILE
AFPCOMP01
FILE CLASS REMOVE DELAY REMOVE TIMER DESTINATIONS FILE STATE
COMPOSITE dest READY
COMMENT: The composite main file AFPCOMP01 is defined to AFP.
The FILE CLASS shall be COMPOSITE.
ACTION: Remove the file AFPCOMP01 from AFP.
$ afprm AFPCOMP01
RESULT: No error message.
ACTION: List the file.
$ afpls AFPCOMP01
RESULT: File not defined
COMMENT: The composite main file AFPCOMP01
is removed from AFP.
8/7/2019 AP File Processing
11/422
TEST INSTRUCTION 11 (423)
2/1521 -ANZ 217 30 Uen
1999-02-10 B
Nr No.
Datum Date Rev File
E
-ENDTC
3.1.1.2 -TCMAN!Define an Infinite File to AFP
ENVIRONMENT: TAR
REQUIREMENT: AP FILE PROCESSING2/155 17-ANZ 217 30 Uen Rev B
ADDITIONAL INFORMATION:The purpose of this test case is to verify that it is possible to define an
infinite file to AFP.
ACTION: Define the infinite file INFINITE01 to AFP.
$ afpdef INFINITE01 dest
RESULT: No error message.
ACTION: List the file attributes.
$ afpls -a
RESULT:
FILE
INFINITE01
FILE CLASS REMOVE DELAY REMOVE TIMER DESTINATIONS FILE STATE
COMPOSITE dest READY
RESULT: INFINITE01
COMMENT: The infinite file INFINITE01 is defined to AFP.
The FILE CLASS shall be COMPOSITE.
ACTION: Remove the file INFINITE01 from AFP.
$ afprm INFINITE01
RESULT: No error message.
ACTION: List the file.
$ afpls INFINITE01
RESULT: File not defined
COMMENT: The composite main file INFINITE01
is removed from AFP.
-ENDTC
8/7/2019 AP File Processing
12/422
TEST INSTRUCTION 12 (423)
2/1521 -ANZ 217 30 Uen
1999-02-10 B
Nr No.
Datum Date Rev File
E
3.1.1.3 -TCMAN!Define a Unix File to AFP
ENVIRONMENT: TAR
REQUIREMENT: AP File Processing, File, Define1/190 80-CNZ 217 3006 Uen Rev F
ADDITIONAL INFORMATION:The purpose of this test case is to verify that it is possible to define a Unixfile to AFP.
ACTION: Define a Unix file to AFP.
$ afpdef -u $HOME/unix01 dest
RESULT: No error message.
ACTION: List the file attributes.
$ afpls -a
RESULT:
FILEunix01
FILE CLASS REMOVE DELAY REMOVE TIMER DESTINATIONS FILE STATE
UNIX dest READY
COMMENT: The Unix file unix01 is defined to AFP.
The FILE CLASS shall be UNIX.
ACTION: Remove the file unix01 from AFP.
$ afprm unix01
RESULT: No error message.
ACTION: List the file.
$ afpls unix01
RESULT: File not defined.
COMMENT: The Unix file unix01
is removed from AFP.
-ENDTC
8/7/2019 AP File Processing
13/422
TEST INSTRUCTION 13 (423)
2/1521 -ANZ 217 30 Uen
1999-02-10 B
Nr No.
Datum Date Rev File
E
3.1.1.4 -TCMAN!Define a Simple File to AFP
ENVIRONMENT: TAR
REQUIREMENT: AP FILE PROCESSING2/155 17-ANZ 217 30 Uen Rev B
ADDITIONAL INFORMATION:The purpose of this test case is to verify that it is possible to define a simplefile to AFP.
ACTION: Define the simple file AFPSIMPLE01 to AFP.
$ afpdef AFPSIMPLE01 dest
RESULT: No error message.
ACTION: List all files.
$ afpls -a
RESULT:
FILE
AFPSIMPLE01
FILE CLASS REMOVE DELAY REMOVE TIMER DESTINATIONS FILE STATESIMPLE dest READY
COMMENT: The simple file AFPSIMPLE01 is
defined to AFP.
ACTION: Remove the file AFPSIMPLE01 from AFP.
$ afprm AFPSIMPLE01
RESULT: No error message.
ACTION: List the file.
$ afpls AFPSIMPLE01
RESULT: File not defined
COMMENT: The simple file AFPSIMPLE01
is removed from AFP.
-ENDTC
3.1.1.5 -TCMAN!Define an IFO File to AFP
ENVIRONMENT: TAR
8/7/2019 AP File Processing
14/422
TEST INSTRUCTION 14 (423)
2/1521 -ANZ 217 30 Uen
1999-02-10 B
Nr No.
Datum Date Rev File
E
REQUIREMENT: AP FILE PROCESSING2/155 17-ANZ 217 30 Uen Rev B
ADDITIONAL INFORMATION:The purpose of this test case is to verify that it is possible to define an IFOfile to AFP.
ACTION: Define the IFO file IFOFILE1 to AFP.
$ afpdef -o -d 6 IFOFILE1
RESULT: No error message.
ACTION: List the file IFOFILE1.
$ afpls -a
RESULT: FILE
IFOFILE1
FILE CLASS REMOVE DELAY
IFO 6
COMMENT: The IFO file IFOFILE1 is
defined to AFP.
ACTION: Remove the IFO file IFOFILE1 from AFP.
$ afprm IFOFILE1
RESULT: No error message.
ACTION: List the IFO file.
$ afpls IFOFILE1
RESULT: File not defined.
COMMENT: The IFO file IFOFILE
is removed from AFP.
-ENDTC
3.1.1.6 -TCMAN!Define a Composite Main File to AFP, with Remove Delay Set toMinimum Value
ENVIRONMENT: TAR
REQUIREMENT: AP FILE PROCESSING2/155 17-ANZ 217 30 Uen Rev B
ADDITIONAL INFORMATION:
8/7/2019 AP File Processing
15/422
TEST INSTRUCTION 15 (423)
2/1521 -ANZ 217 30 Uen
1999-02-10 B
Nr No.
Datum Date Rev File
E
The purpose of this test case is to verify that it is possible to define a compositemain file to AFP, with remove delay set to minimum value (1).
ACTION: Define the composite main file AFPCOMP01
to AFP.
$ afpdef -d 1 AFPCOMP01 dest
RESULT: No error message.
ACTION: List the file attributes.
$ afpls -a AFPCOMP01
RESULT:
FILE
AFPCOMP01
FILE CLASS REMOVE DELAY REMOVE TIMER DESTINATIONS FILE STATUS
COMPOSITE 1 dest
COMMENT: Check that the remove delay is correct.
ACTION: Remove the file AFPCOMP01 from AFP.
$ afprm AFPCOMP01
RESULT: No error message.
ACTION: List the file.
$ afpls AFPCOMP01
RESULT: File not defined
COMMENT: The composite main file AFPCOMP01
is removed from AFP.
-ENDTC
3.1.1.7 -TCMAN!Define an Infinite File to AFP, with Remove Delay Set toMinimum Value
ENVIRONMENT: TAR
REQUIREMENT: AP FILE PROCESSING2/155 17-ANZ 217 30 Uen Rev B
ADDITIONAL INFORMATION:
The purpose of this test case is to verify that it is possible to define an infinitefile to AFP, with remove delay set to minimum value (1).
8/7/2019 AP File Processing
16/422
TEST INSTRUCTION 16 (423)
2/1521 -ANZ 217 30 Uen
1999-02-10 B
Nr No.
Datum Date Rev File
E
ACTION: Define the infinite file INFINITE01 to AFP.
$ afpdef -d 1 INFINITE01 dest
RESULT: No error message.
ACTION: List the file attributes.
$ afpls -a INFINITE01
RESULT:
FILE
INFINITE01
FILE CLASS REMOVE DELAY REMOVE TIMER DESTINATIONS FILE STATUS
COMPOSITE 1 dest
COMMENT: Check that the remove delay is correct.
ACTION: Remove the file INFINITE01 from AFP.
$ afprm INFINITE01
RESULT: No error message.
ACTION: List the file.
$ afpls INFINITE01
RESULT: File not defined
COMMENT: The infinite file INFINITE01
is removed from AFP.
-ENDTC
3.1.1.8 -TCMAN!Define a Unix File to AFP, with Remove Delay Set to Minimum
Value
ENVIRONMENT: TAR
REQUIREMENT: AP File Processing, File, Define1/190 80-CNZ 217 3006 Uen Rev F
ADDITIONAL INFORMATION:The purpose of this test case is to verify that it is possible to define a Unix fileto AFP with remove delay set to minimum value (1).
ACTION: Define a Unix file to AFP.
$ afpdef -u -d 1 $HOME/unix01 dest
8/7/2019 AP File Processing
17/422
TEST INSTRUCTION 17 (423)
2/1521 -ANZ 217 30 Uen
1999-02-10 B
Nr No.
Datum Date Rev File
E
RESULT: No error message.
ACTION: List teh file attributes.
$ afpls -a unix01
RESULT:
FILE
unix01
FILE CLASS REMOVE DELAY REMOVE TIMER DESTINATIONS FILE STATUS
UNIX 1 0 dest READY
COMMENT: Check that the remove delay is correct.
ACTION: Remove the file unix01 from AFP.
$ afprm unix01
RESULT: No error message.
ACTION: List the file.
$ afpls unix01
RESULT: File not defined.
COMMENT: The Unix file unix01
is removed from AFP.
-ENDTC
3.1.1.9 -TCMAN!Define a Simple File to AFP, with Remove Delay Set to MinimumValue
ENVIRONMENT: TAR
REQUIREMENT: AP FILE PROCESSING2/155 17-ANZ 217 30 Uen Rev B
ADDITIONAL INFORMATION:The purpose of this test case is to verify that it is possible to define a simple fileto AFP, with remove delay set to minimum value (1).
ACTION: Define the simple file AFPSIMPLE01 to AFP.
$ afpdef -d 1 AFPSIMPLE01 dest
RESULT: No error message.
ACTION: List the file attributes.
8/7/2019 AP File Processing
18/422
TEST INSTRUCTION 18 (423)
2/1521 -ANZ 217 30 Uen
1999-02-10 B
Nr No.
Datum Date Rev File
E
$ afpls -a AFPSIMPLE01
RESULT:
FILE
AFPSIMPLE01
FILE CLASS REMOVE DELAY REMOVE TIMER DESTINATIONS FILE STATUS
SIMPLE 1 0 dest READY
COMMENT: Check that the remove delay is correct.
ACTION: Remove the file AFPSIMPLE01 from AFP.
$ afprm AFPSIMPLE01
RESULT: No error message.
ACTION: List the file.
$ afpls AFPSIMPLE01
RESULT: File not defined
COMMENT: The simple file AFPSIMPLE01
is removed from AFP.
-ENDTC
3.1.1.10 -TCMAN!Define an IFO File to AFP, with Remove Delay Set to MinimumValue
ENVIRONMENT: TAR
REQUIREMENT: AP FILE PROCESSING2/155 17-ANZ 217 30 Uen Rev B
ADDITIONAL INFORMATION:
The purpose of this test case is to verify that it is possible to define an IFO fileto AFP, with remove delay set to minimum value (1).
ACTION: Define the IFO file INFIFO1 to AFP.
$ afpdef -o -d 1 INFIFO1
RESULT: No error message.
ACTION: List the file attributes for the IFO file INFIFO1.
$ afpls -a INFIFO1
RESULT: FILE
INFIFO1
8/7/2019 AP File Processing
19/422
TEST INSTRUCTION 19 (423)
2/1521 -ANZ 217 30 Uen
1999-02-10 B
Nr No.
Datum Date Rev File
E
FILE CLASS REMOVE DELAYIFO 1
COMMENT: Check that the remove delay is correct.
ACTION: Remove the IFO file INFIFO1 from AFP.
$ afprm INFIFO1
RESULT: No error message.
ACTION: List the file.
$ afpls INFIFO1
RESULT: File not defined.
COMMENT: The IFO file INFIFO1
is removed from AFP.
-ENDTC
3.1.1.11 -TCMAN!Define a Composite Main File to AFP, with Remove Delay Set toMaximum Value
ENVIRONMENT: TAR
REQUIREMENT: AP FILE PROCESSING2/155 17-ANZ 217 30 Uen Rev B
ADDITIONAL INFORMATION:The purpose of this test case is to verify that it is possible to define a compositemain file to AFP, with remove delay set to maximum value (59999).
ACTION: Define the composite main file AFPCOMP01
to AFP.
$ afpdef -d 59999 AFPCOMP01 dest
RESULT: No error message.
ACTION: List the file attributes.
$ afpls -a AFPCOMP01
RESULT:
FILE
AFPCOMP01
FILE CLASS REMOVE DELAY REMOVE TIMER DESTINATIONS FILE STATUS
COMPOSITE 59999 dest
8/7/2019 AP File Processing
20/422
TEST INSTRUCTION 20 (423)
2/1521 -ANZ 217 30 Uen
1999-02-10 B
Nr No.
Datum Date Rev File
E
COMMENT: Check that the remove delay is correct.
ACTION: Remove the file AFPCOMP01 from AFP.
$ afprm AFPCOMP01
RESULT: No error message.
ACTION: List the file.
$ afpls AFPCOMP01
RESULT: File not defined
COMMENT: The composite main file AFPCOMP01
is removed from AFP.
-ENDTC
3.1.1.12 -TCMAN!Define an Infinite File to AFP, with Remove Delay Set toMaximum Value
ENVIRONMENT: TAR
REQUIREMENT: AP FILE PROCESSING2/155 17-ANZ 217 30 Uen Rev B
ADDITIONAL INFORMATION:The purpose of this test case is to verify that it is possible to define an infinitefile to AFP, with remove delay set to maximum value (59999).
ACTION: Define the infinite file INFINITE01
to AFP.
$ afpdef -d 59999 INFINITE01 dest
RESULT: No error message.
ACTION: List the file attributes.
$ afpls -a INFINITE01
RESULT:
FILE
INFINITE01
FILE CLASS REMOVE DELAY REMOVE TIMER DESTINATIONS FILE STATUS
COMPOSITE 59999 dest
COMMENT: Check that the remove delay is correct.
ACTION: Remove the file INFINITE01 from AFP.
8/7/2019 AP File Processing
21/422
TEST INSTRUCTION 21 (423)
2/1521 -ANZ 217 30 Uen
1999-02-10 B
Nr No.
Datum Date Rev File
E
$ afprm INFINITE01
RESULT: No error message.
ACTION: List the file.
$ afpls INFINITE01
RESULT: File not defined
COMMENT: The composite main file INFINITE01
is removed from AFP.
-ENDTC
3.1.1.13 -TCMAN!Define a Unix File to AFP, with Remove Delay Set to MaximumValue
ENVIRONMENT: TAR
REQUIREMENT: AP File Processing, File, Define1/190 80-CNZ 217 3006 Uen Rev F
ADDITIONAL INFORMATION:The purpose of this test case is to verify that it is possible to define a Unix fileto AFP with remove delay set to maximum value (59999).
ACTION: Define a Unix file to AFP.
$ afpdef -u -d 59999 -u $HOME/unix01 dest
RESULT: No error message.
ACTION: List the file attributes.
$ afpls -a unix01
RESULT:
FILE
unix01
FILE CLASS REMOVE DELAY REMOVE TIMER DESTINATIONS FILE STATUS
UNIX 59999 59998 dest READY
COMMENT: Check that the remove delay is correct.
ACTION: Remove the file unix01 from AFP.
$ afprm unix01
RESULT: No error message.
8/7/2019 AP File Processing
22/422
8/7/2019 AP File Processing
23/422
TEST INSTRUCTION 23 (423)
2/1521 -ANZ 217 30 Uen
1999-02-10 B
Nr No.
Datum Date Rev File
E
RESULT: File not defined
COMMENT: The simple file AFPSIMPLE01
is removed from AFP.
-ENDTC
-ENDGROUP
3.1.1.15 -TCMAN!Define an IFO File to AFP, with Remove Delay Set to MaximumValue
ENVIRONMENT: TAR
REQUIREMENT: AP FILE PROCESSING2/155 17-ANZ 217 30 Uen Rev B
ADDITIONAL INFORMATION:The purpose of this test case is to verify that it is possible to define an IFO fileto AFP, with remove delay set to maximum value (59999).
ACTION: Define the IFO file INFIFO1 to AFP.
$ afpdef -o -d 59999 INFIFO1
RESULT: No error message.
ACTION: List the file attributes for the IFO file INFIFO1.
$ afpls -a INFIFO1
RESULT: FILE
INFIFO1
FILE CLASS REMOVE DELAY
IFO 59999
COMMENT: Check that the remove delay is correct.
ACTION: Remove the IFO file INFIFO1 from AFP.
$ afprm INFIFO1
RESULT: No error message.
ACTION: List the IFO file INFIFO1.
$ afpls INFIFO1
RESULT: File not defined.
COMMENT: The IFO file INFIFO1
is removed from AFP.
8/7/2019 AP File Processing
24/422
TEST INSTRUCTION 24 (423)
2/1521 -ANZ 217 30 Uen
1999-02-10 B
Nr No.
Datum Date Rev File
E
-ENDTC
3.1.2 -GROUP!List Files
3.1.2.1 -TCMAN!List Files in AFP
ENVIRONMENT: TAR
REQUIREMENT: AP FILE PROCESSING2/155 17-ANZ 217 30 Uen Rev B
ADDITIONAL INFORMATION:The purpose of this test case is to verify that it is possible to list files.
ACTION: Define some files to AFP.
$ afpdef AFPCOMP01 compdest
RESULT: No error message.
$ afpdef AFPSIMPLE01 simpdest
RESULT: No error message.
$ afpdef -o -d 20 IFOFILE1
RESULT: No error message.
$ afpdef -u $HOME/unix01 unixdest
RESULT: No error message.
ACTION: List all files.
$ afpls -a
RESULT: AFPCOMP01AFPSIMPLE01
unix01
ACTION: Remove the defined files from AFP.
$ afprm AFPCOMP01
RESULT: No error message.
$ afprm AFPSIMPLE01
RESULT: No error message.
$ afprm IFOFILE1
8/7/2019 AP File Processing
25/422
TEST INSTRUCTION 25 (423)
2/1521 -ANZ 217 30 Uen
1999-02-10 B
Nr No.
Datum Date Rev File
E
RESULT: No error message.
$ afprm unix01
RESULT: No error message.
ACTION: List all files.
$ afpls
RESULT: $
COMMENT: The removed files shall not
be present in the list.
-ENDTC
3.1.2.2 -TCMAN!List a Specified File
ENVIRONMENT: TAR
REQUIREMENT: AP FILE PROCESSING2/155 17-ANZ 217 30 Uen Rev B
ADDITIONAL INFORMATION:The purpose of this test case is to verify that it is possible to list a specified file.
ACTION: Define some files to AFP.
$ afpdef AFPCOMP01 compdest
RESULT: No error message.
$ afpdef AFPSIMPLE01 simpdest
RESULT: No error message.
$ afpdef -u $HOME/unix01 unixdest
RESULT: No error message.
ACTION: List all files in AFP.
$ afpls
RESULT: AFPCOMP01
AFPSIMPLE01
unix01
ACTION: List the simple file AFPSIMPLE01.
8/7/2019 AP File Processing
26/422
TEST INSTRUCTION 26 (423)
2/1521 -ANZ 217 30 Uen
1999-02-10 B
Nr No.
Datum Date Rev File
E
$ afpls AFPSIMPLE01
RESULT: AFPSIMPLE01
COMMENT: Only the simple file AFPSIMPLE01
shall be listed.
ACTION: Remove the defined files from AFP.
$ afprm AFPCOMP01
RESULT: No error message.
$ afprm AFPSIMPLE01
RESULT: No error message.
$ afprm unix01
RESULT: No error message.
ACTION: List all files.
$ afpls
RESULT: $
COMMENT: The removed files shall not
be present in the list.
-ENDTC
3.1.2.3 -TCMAN!List a Specified File and Destination
ENVIRONMENT: TAR
REQUIREMENT: AP File Processing, Files, List
4/190 80-CNZ 217 3006 Uen Rev D
ADDITIONAL INFORMATION:The purpose of this test case is to verify that it is possible to list a specifiedfile and destination.
ACTION: Define a simple file to AFP.
$ afpdef AFPSIMPLE01 dest
RESULT: No error message.
ACTION: Insert a new destination.
$ afpchd -i newdest AFPSIMPLE01
8/7/2019 AP File Processing
27/422
TEST INSTRUCTION 27 (423)
2/1521 -ANZ 217 30 Uen
1999-02-10 B
Nr No.
Datum Date Rev File
E
RESULT: No error message.
ACTION: List the file attributes.
$ afpls -a AFPSIMPLE01
RESULT:
FILE
AFPSIMPLE01
FILE CLASS REMOVE DELAY REMOVE TIMER DESTINATIONS FILE STATE
SIMPLE dest READY
newdest READY
ACTION: List the file attributes and the destination
newdest for the simple file AFPSIMPLE01.
$ afpls AFPSIMPLE01 newdest
RESULT: AFPSIMPLE01
COMMENT: No error message.
The CP file AFPSIMPLE01 shall be listed.
ACTION: Remove the defined file from AFP.
$ afprm AFPSIMPLE01
RESULT: No error message.
ACTION: List the file.
$ afpls
RESULT: File not defined
COMMENT: The file is removed from AFP.
-ENDTC
-ENDGROUP
3.1.3 -GROUP!Report files to AFP
3.1.3.1 -TCMAN!Report a Subfile to AFP, Manually
ENVIRONMENT: TAR
REQUIREMENT: AP FILE PROCESSING2/155 17-ANZ 217 30 Uen Rev B
ADDITIONAL INFORMATION:
8/7/2019 AP File Processing
28/422
TEST INSTRUCTION 28 (423)
2/1521 -ANZ 217 30 Uen
1999-02-10 B
Nr No.
Datum Date Rev File
E
The purpose of this test case is to verify that it is possible to manually report asubfile to AFP.
ACTION: Define the main file AFPCOMP01 to AFP.
$ afpdef -d 100 AFPCOMP01 dest
RESULT: No error message.
ACTION: List the main file AFPCOMP01.
$ afpls AFPCOMP01
RESULT: AFPCOMP01
COMMENT: The composite main file AFPCOMP01
is defined to AFP.
ACTION: Report the subfile AFPCOMP01-SUBFILE-001
to AFP.
$ afprep AFPCOMP01-SUBFILE-001
RESULT: No error message.
ACTION: List reported files.
$ afpls -as AFPCOMP01
RESULT:
FILE
AFPCOMP01
FILE CLASS REMOVE DELAY
COMPOSITE 100
SUBFILE REMOVE TIMER DESTINATIONS FILE STATUS
AFPCOMP01-SUBFILE-001 99
dest READY
ACTION: Remove the main file AFPCOMP01
and its subfiles from AFP.
$ afprm AFPCOMP01
RESULT: No error message.
ACTION: List the file.
$ afpls AFPCOMP01
RESULT: File not defined
8/7/2019 AP File Processing
29/422
TEST INSTRUCTION 29 (423)
2/1521 -ANZ 217 30 Uen
1999-02-10 B
Nr No.
Datum Date Rev File
E
COMMENT: The composite main file AFPCOMP01is removed from AFP.
-ENDTC
3.1.3.2 -TCMAN!Report Subfiles to AFP, Automatically
ENVIRONMENT: TAR
REQUIREMENT: AP FILE PROCESSING2/155 17-ANZ 217 30 Uen Rev B
ADDITIONAL INFORMATION:The purpose of this test case is to verify that subfiles been automaticallyreported to AFP.
ACTION: Create an infinite file, with record length 2048
and maxsize 50 (Value may be adjusted).
$ cpfmkfile -f inf -l 2048 -s 50 \
YATSI00 TEMPVOLUME
RESULT: No error message.
ACTION: Define the composite main file YATSI00,
with remove delay, to AFP.
$ afpdef -d 100 YATSI00 HEAVEN
RESULT: No error message.
ACTION: Enter MML session in an AD terminal
$ mml
RESULT:
COMMENT: No error message.
ACTION: Quit prcutil program.
8/7/2019 AP File Processing
107/422
TEST INSTRUCTION 107 (423)
2/1521 -ANZ 217 30 Uen
1999-02-10 B
Nr No.
Datum Date Rev File
E
prcutil> q
RESULT: root>
ACTION: Exit root.
root> exit
RESULT: $
COMMENT: No error message.
-ENDTC
4.1.2.11 -TCMAN!Internal program error
ENVIRONMENT: TAR
REQUIREMENT: AP File Processing, File, Define1/190 80-CNZ 217 3006 Uen Rev F
ADDITIONAL INFORMATION:The purpose of this test case is to verify that the diagnostic:Internal program error is received, according to the MAN.
COMMENT: For this test case root permission
is necessary.
ACTION: Start an additional command tool and
switch user to root.
$ s u -
RESULT: Password
ACTION: Enter password.
********
RESULT: Wed Feb 4 15:07:50 MET 1998
root>
ACTION: Change the directory to /AP/FMS/data.
root> cd /AP/FMS/data
RESULT: No error message.
ACTION: Change the owner and the group to root
for the directory AFP
8/7/2019 AP File Processing
108/422
TEST INSTRUCTION 108 (423)
2/1521 -ANZ 217 30 Uen
1999-02-10 B
Nr No.
Datum Date Rev File
E
root> chown root:root AFP
RESULT: No error message.
ACTION: From the ordinary command tool.
Provoke Internal program error
by trying to define a file to AFP.
$ afpdef AFPCOMP01 dest
RESULT: Internal program error
COMMENT: Exit code: 26
ACTION: From the command tool where root is user.
Change back the owner and the group to
apioad and apio for the directory AFP.
root> chown apioadm:apio AFP
RESULT: No error message.
ACTION: Change back the group of the directory AFP
to apio.
root> chgrp apio AFP
RESULT: No error message.
ACTION: Exit root
root> exit
RESULT: $
-ENDTC
4.1.2.12 -TCMAN!Illegal remove delay value
ENVIRONMENT: TAR
REQUIREMENT: AP File Processing, File, Define1/190 80-CNZ 217 3006 Uen Rev F
ADDITIONAL INFORMATION:The purpose of this test case is to verify that the diagnostic:Illegal remove delay valueis received, according to the MAN.
ACTION: Define the simple file AFPSIMPLE01 to AFP
with an illegal value.
$ afpdef -d 60000 AFPSIMPLE01 dest
8/7/2019 AP File Processing
109/422
TEST INSTRUCTION 109 (423)
2/1521 -ANZ 217 30 Uen
1999-02-10 B
Nr No.
Datum Date Rev File
E
RESULT: Illegal remove delay value
COMMENT: Exit code: 27
-ENDTC
4.1.2.13 -TCMAN!Illegal remove delay value
ENVIRONMENT: TAR
REQUIREMENT: AP File Processing, File, Define
1/190 80-CNZ 217 3006 Uen Rev F
ADDITIONAL INFORMATION:The purpose of this test case is to verify that the diagnostic:Illegal remove delay valueis received, according to the MAN.
ACTION: Define a IFO file IFOFILE1, with
faulty characters, to AFP.The purpose of
this test case is to verify that
remove delay can not be set to 0.
$ afpdef -o -d 0 IFOFILE1
RESULT: Illegal remove delay value
COMMENT: Exit code: 27
-ENDTC
4.1.2.14 -TCMAN!File is defined with MAXTIME or RELEASE or no MAXSIZE
ENVIRONMENT: TAR
REQUIREMENT: AP File Processing, File, Define1/190 80-CNZ 217 3006 Uen Rev F
ADDITIONAL INFORMATION:The purpose of this test case is to verify that the diagnostic:File is defined with MAXTIME or RELEASE is received, according to the MAN.
ACTION: List all files and their attributes in CPF.
$ cpfls -l
RESULT: ................
ACTION: Provoke File is defined with MAXTIME
or RELEASE by trying to define a infinite file
with maxtime and release to a destination IP-address.
8/7/2019 AP File Processing
110/422
TEST INSTRUCTION 110 (423)
2/1521 -ANZ 217 30 Uen
1999-02-10 B
Nr No.
Datum Date Rev File
E
$ afpdef -o -d 4 INFFILE
RESULT: File is defined with MAXTIME or RELEASE
COMMENT: Exit code: 28
-ENDTC
4.1.2.15 -TCMAN!File is defined with MAXTIME or RELEASE or no MAXSIZE
ENVIRONMENT: TAR
REQUIREMENT: AP File Processing, File, Define1/190 80-CNZ 217 3006 Uen Rev F
ADDITIONAL INFORMATION:The purpose of this test case is to verify that the diagnostic:File is defined with MAXTIME or RELEASE is received, according to the MAN.
ACTION: List all files and their attributes in CPF.
$ cpfls -l
RESULT: ................
ACTION: Provoke File is defined with MAXTIME
or RELEASE or no MAXSIZE by trying to define
an infinite file with no maxsize to
a destination IP-address.
$ afpdef -o -d 4 NOSIZE
RESULT: File is defined with MAXTIME or RELEASE or no MAXSIZE
COMMENT: Exit code: 28
-ENDTC
4.1.2.16 -TCMAN!File is not infinite
ENVIRONMENT: TAR
REQUIREMENT: AP File Processing, File, Define1/190 80-CNZ 217 3006 Uen Rev F
ADDITIONAL INFORMATION:The purpose of this test case is to verify that the diagnostic:File is not infinite is received, according to the MAN.
ACTION: Provoke File is not infinite
by trying to define a composite file as
8/7/2019 AP File Processing
111/422
TEST INSTRUCTION 111 (423)
2/1521 -ANZ 217 30 Uen
1999-02-10 B
Nr No.
Datum Date Rev File
E
an IFO file to AFP function.
$ afpdef -o -d 5 AFPCOMP0
RESULT: File is not infinite
COMMENT: Exit code: 30
-ENDTC
-ENDGROUP
4.1.3 -GROUP!Command afprep with Options
4.1.3.1 -TCMAN!Report a Subfile, with the Generation Specified, to AFP
ENVIRONMENT: TAR
REQUIREMENT: AP File Processing, File, Report2/190 80-CNZ 217 3006 Uen Rev C
ADDITIONAL INFORMATION:The purpose of this test case is to verify that it is possible to report a subfile,with operand file-subfile-generation specified, to AFP.
ACTION: Define the composite main file AFPCOMP01 to AFP.
$ afpdef -d 55 AFPCOMP01 dest
RESULT: No error message.
ACTION: List the main file AFPCOMP01.
$ afpls AFPCOMP01
RESULT: AFPCOMP01
COMMENT: The composite main file AFPCOMP01
is defined to AFP.
ACTION: Report the subfile AFPCOMP01-SUBFILE-001
to AFP.
$ afprep AFPCOMP01-SUBFILE-001
RESULT: No error message.
ACTION: List reported files.
$ afpls -as AFPCOMP01
RESULT: FILE
AFPCOMP01
FILE CLASS REMOVE DELAY
8/7/2019 AP File Processing
112/422
TEST INSTRUCTION 112 (423)
2/1521 -ANZ 217 30 Uen
1999-02-10 B
Nr No.
Datum Date Rev File
E
COMPOSITESUBFILE REMOVE TIMER DESTINATIONS FILE STATUS
AFPCOMP01-SUBFILE-001
dest READY
COMMENT: Only the subfile AFPCOMP01-SUBFILE-001
shall been reported.
ACTION: Remove the main file AFPCOMP01 from AFP.
$ afprm AFPCOMP01
RESULT: No error message.
ACTION: List the file.
$ afpls AFPCOMP01
RESULT: File not defined
COMMENT: The composite main file AFPCOMP01
is removed from AFP.
-ENDTC
4.1.3.2 -TCMAN!Check that the Operand File is not Case Sensitive
ENVIRONMENT: TAR
REQUIREMENT: AP File Processing, File, Report2/190 80-CNZ 217 3006 Uen Rev C
ADDITIONAL INFORMATION:The purpose of this test case is to verify that the operand file is not casesensitive.
ACTION: Define the main file AFPCOMP01 to AFP.
$ afpdef AFPCOMP01 dest
RESULT: No error message.
ACTION: List the main file AFPCOMP01.
$ afpls AFPCOMP01
RESULT: AFPCOMP01
COMMENT: The composite main file AFPCOMP01
is defined to AFP.
ACTION: Report the subfile AFPCOMP01-SUBFILE-GEN1
8/7/2019 AP File Processing
113/422
TEST INSTRUCTION 113 (423)
2/1521 -ANZ 217 30 Uen
1999-02-10 B
Nr No.
Datum Date Rev File
E
to AFP, with small letters in the operand file.
$ afprep afpcomp01-SUBFILE-GEN1
RESULT: No error message.
ACTION: List reported files.
$ afpls -as AFPCOMP01
RESULT:
FILE
AFPCOMP01
FILE CLASS REMOVE DELAY
COMPOSITE
SUBFILE REMOVE TIMER DESTINATIONS FILE STATUS
AFPCOMP01-SUBFILE-GEN1
dest READY
ACTION: Remove the main file AFPCOMP01 from AFP.
$ afprm AFPCOMP01
RESULT: No error message.
ACTION: List the file.
$ afpls AFPCOMP01
RESULT: File not defined
COMMENT: The composite main file AFPCOMP01
is removed from AFP.
-ENDTC
4.1.3.3 -TCMAN!Check that the Operand Subfile is not Case Sensitive
ENVIRONMENT: TAR
REQUIREMENT: AP File Processing, File, Report2/190 80-CNZ 217 3006 Uen Rev C
ADDITIONAL INFORMATION:The purpose of this test case is to verify that the operand subfile is not casesensitive.
ACTION: Define the main file AFPCOMP01 to AFP.
$ afpdef AFPCOMP01 dest
RESULT: No error message.
8/7/2019 AP File Processing
114/422
TEST INSTRUCTION 114 (423)
2/1521 -ANZ 217 30 Uen
1999-02-10 B
Nr No.
Datum Date Rev File
E
ACTION: List the main file AFPCOMP01.
$ afpls AFPCOMP01
RESULT: AFPCOMP01
COMMENT: The composite main file AFPCOMP01
is defined to AFP.
ACTION: Report the subfile AFPCOMP01-SUBFILE-GEN1
to AFP, with small letters in the operand
subfile.
$ afprep AFPCOMP01-subfile-GEN1
RESULT: No error message.
ACTION: List reported files.
$ afpls -as AFPCOMP01
RESULT:
FILE
AFPCOMP01
FILE CLASS REMOVE DELAYCOMPOSITE
SUBFILE REMOVE TIMER DESTINATIONS FILE STATUS
AFPCOMP01-SUBFILE-GEN1
dest READY
ACTION: Remove the main file AFPCOMP01 from AFP.
$ afprm AFPCOMP01
RESULT: No error message.
ACTION: List the file.
$ afpls
RESULT: File not defined
COMMENT: The composite main file AFPCOMP01
is removed from AFP.
-ENDTC
4.1.3.4 -TCMAN!Check that the Operand Generation is not Case Sensitive
ENVIRONMENT: TAR
8/7/2019 AP File Processing
115/422
TEST INSTRUCTION 115 (423)
2/1521 -ANZ 217 30 Uen
1999-02-10 B
Nr No.
Datum Date Rev File
E
REQUIREMENT: AP File Processing, File, Report2/190 80-CNZ 217 3006 Uen Rev C
ADDITIONAL INFORMATION:The purpose of this test case is to verify that the operand generation is notcase sensitive.
ACTION: Define the main file AFPCOMP01 to AFP.
$ afpdef AFPCOMP01 dest
RESULT: No error message.
ACTION: List the main file AFPCOMP01.
$ afpls AFPCOMP01
RESULT: AFPCOMP01
COMMENT: The composite main file AFPCOMP01
is defined to AFP.
ACTION: Report the subfile AFPCOMP01-SUBFILE-GEN1
to AFP, with small letters in the operand
generation.
$ afprep AFPCOMP01-SUBFILE-gen1
RESULT: No error message.
ACTION: List reported files.
$ afpls -as AFPCOMP01
RESULT:
FILE
AFPCOMP01
FILE CLASS REMOVE DELAY
COMPOSITE
SUBFILE REMOVE TIMER DESTINATIONS FILE STATUS
AFPCOMP01-SUBFILE-GEN1
dest READY
ACTION: Remove the main file AFPCOMP01 from AFP.
$ afprm AFPCOMP01
RESULT: No error message.
ACTION: List the file.
$ afpls AFPCOMP01
8/7/2019 AP File Processing
116/422
TEST INSTRUCTION 116 (423)
2/1521 -ANZ 217 30 Uen
1999-02-10 B
Nr No.
Datum Date Rev File
E
RESULT: File not defined.
COMMENT: The composite main file AFPCOMP01
is removed from AFP.
-ENDTC
-ENDGROUP
4.1.4 -GROUP!Command afprep Printouts
4.1.4.1 -TCMAN!Error when executing
ENVIRONMENT: TAR
REQUIREMENT: AP File Processing, File, Report2/190 80-CNZ 217 3006 Uen Rev C
ADDITIONAL INFORMATION:The purpose of this test case is to verify that the diagnostic:Error when executing is received, according to the MAN.
RESULT: Error when executing
COMMENT: Exit code: 1
-ENDTC
4.1.4.2 -TCMAN!Usage: afprep
ENVIRONMENT: TAR
REQUIREMENT: AP File Processing, File, Report2/190 80-CNZ 217 3006 Uen Rev C
ADDITIONAL INFORMATION:The purpose of this test case is to verify that the diagnostic:Usage is received, according to the MAN.
ACTION: Provoke Usage:.
$ afprep
RESULT: Usage: afprep file-subfile[-generation]
COMMENT: Exit code: 2
-ENDTC
8/7/2019 AP File Processing
117/422
TEST INSTRUCTION 117 (423)
2/1521 -ANZ 217 30 Uen
1999-02-10 B
Nr No.
Datum Date Rev File
E
4.1.4.3 -TCMAN!Subfile already reported
ENVIRONMENT: TAR
REQUIREMENT: AP File Processing, File, Report2/190 80-CNZ 217 3006 Uen Rev C
ADDITIONAL INFORMATION:The purpose of this test case is to verify that the diagnostic:Subfile already reported is received, according to the MAN.
ACTION: Define the composite main file AFPCOMP01 to AFP.
$ afpdef AFPCOMP01 dest
RESULT: No error message.
ACTION: List the main file AFPCOMP01.
$ afpls AFPCOMP01
RESULT: AFPCOMP01
COMMENT: The composite main file AFPCOMP01
is defined to AFP.
ACTION: Report the subfile AFPCOMP01-SUBFILE01 to AFP.
$ afprep AFPCOMP01-SUBFILE01
RESULT: No error message.
ACTION: Provoke Subfile already reported by
reporting the subfile again.
$ afprep AFPCOMP01-SUBFILE01
RESULT: Subfile already reported
COMMENT: Exit code: 17
ACTION: Remove the main file AFPCOMP01 from AFP.
$ afprm AFPCOMP01
RESULT: No error message
ACTION: List the file.
$ afpls AFPCOMP01
RESULT: File not defined
8/7/2019 AP File Processing
118/422
TEST INSTRUCTION 118 (423)
2/1521 -ANZ 217 30 Uen
1999-02-10 B
Nr No.
Datum Date Rev File
E
COMMENT: The file is removed from AFP.
-ENDTC
4.1.4.4 -TCMAN!Subfile not found
ENVIRONMENT: TAR
REQUIREMENT: AP File Processing, File, Report2/190 80-CNZ 217 3006 Uen Rev C
ADDITIONAL INFORMATION:The purpose of this test case is to verify that the diagnostic:Subfile not found is received, according to the MAN.
ACTION: Define the composite main file AFPCOMP01 to AFP.
$ afpdef AFPCOMP01 dest
RESULT: No error message.
ACTION: Provoke Subfile not found by trying
to report a subfile that does not exist.
$ afprep AFPCOMP01-FORREST
RESULT: Subfile not found
COMMENT: Exit code: 19
ACTION: Remove the main file AFPCOMP01 from AFP.
$ afprm AFPCOMP01
RESULT: No error message
ACTION: List the file.
$ afpls AFPCOMP01
RESULT: File not defined
COMMENT: The file is removed from AFP.
-ENDTC
4.1.4.5 -TCMAN!Invalid subfile name
ENVIRONMENT: TAR
8/7/2019 AP File Processing
119/422
TEST INSTRUCTION 119 (423)
2/1521 -ANZ 217 30 Uen
1999-02-10 B
Nr No.
Datum Date Rev File
E
REQUIREMENT: AP File Processing, File, Report2/190 80-CNZ 217 3006 Uen Rev C
ADDITIONAL INFORMATION:The purpose of this test case is to verify that the diagnostic:Invalid subfile name is received, according to the MAN.
ACTION: Define the composite main file AFPCOMP01 to AFP.
$ afpdef AFPCOMP01 dest
RESULT: No error message.
ACTION: Provoke Invalid subfile name by tryingto report a subfile with an incorrect file name.
$ afprep AFPCOMP01-$$$$$
RESULT: Invalid subfile name
COMMENT: Exit code: 20
ACTION: Remove the main file AFPCOMP01 from AFP.
$ afprm AFPCOMP01
RESULT: No error message
ACTION: List the file.
$ afpls AFPCOMP01
RESULT: File not defined
COMMENT: The file is removed from AFP.
-ENDTC
4.1.4.6 -TCMAN!File not defined
ENVIRONMENT: TAR
REQUIREMENT: AP File Processing, File, Report2/190 80-CNZ 217 3006 Uen Rev C
ADDITIONAL INFORMATION:The purpose of this test case is to verify that the diagnostic:File not defined is received, according to the MAN.
ACTION: Provoke File not defined by trying to
report a subfile when the main file is not
defined to AFP.
8/7/2019 AP File Processing
120/422
TEST INSTRUCTION 120 (423)
2/1521 -ANZ 217 30 Uen
1999-02-10 B
Nr No.
Datum Date Rev File
E
$ afprep AFPCOMP01-SUBFILE01
RESULT: File not defined
COMMENT: Exit code: 11
-ENDTC
4.1.4.7 -TCMAN!Access error
ENVIRONMENT: TAR
REQUIREMENT: AP File Processing, File, Report2/190 80-CNZ 217 3006 Uen Rev C
ADDITIONAL INFORMATION:The purpose of this test case is to verify that the diagnostic:Access error is received, according to the MAN.
RESULT: Access error
COMMENT: Exit code: 24
-ENDTC
4.1.4.8 -TCMAN!Cant connect to FMS_AFP_server
ENVIRONMENT: TAR
REQUIREMENT: AP File Processing, File, Report2/190 80-CNZ 217 3006 Uen Rev C
ADDITIONAL INFORMATION:The purpose of this test case is to verify that the diagnostic:
Cant connect to FMS_AFP_server is received, according to the MAN.
COMMENT: For this test case root permission
is necessary.
ACTION: Define a composite main file to AFP.
afpdef AFPCOMP01 dest
RESULT: No error message
ACTION: Switch user to root.
$ s u -
8/7/2019 AP File Processing
121/422
TEST INSTRUCTION 121 (423)
2/1521 -ANZ 217 30 Uen
1999-02-10 B
Nr No.
Datum Date Rev File
E
RESULT: Password
ACTION: Enter password.
********
RESULT: Wed Feb 4 15:07:50 MET 1998
root>
ACTION: Start prcutil program.
root> prcutil
RESULT: prcutil>
ACTION: Kill Process Group FMS.
prcutil> k FMS
RESULT: prcutil>
COMMENT: No error message.
ACTION: Quit prcutil program.
prcutil> q
RESULT: root>
ACTION: Exit root.
root>exit
RESULT: >
COMMENT: No error message.
ACTION: Report a subfile to AFP.
$ afprep AFPCOMP01-SUBFILE01
RESULT: Cant connect to FMS_AFP_server
COMMENT: Exit code: 25
ACTION: Switch user to root.
$ s u -
RESULT: Password
ACTION: Enter password.
8/7/2019 AP File Processing
122/422
TEST INSTRUCTION 122 (423)
2/1521 -ANZ 217 30 Uen
1999-02-10 B
Nr No.
Datum Date Rev File
E
********
RESULT: Wed Feb 4 15:10:20 MET 1998
root>
ACTION: Start prcutil program.
root> prcutil
RESULT: prcutil>
ACTION: Start Process Group FMS.
prcutil> s FMS
RESULT: prcutil>
COMMENT: No error message.
ACTION: Quit prcutil program.
prcutil> q
RESULT: root>
ACTION: Exit root.
root> exit
RESULT: >
COMMENT: No error message.
ACTION: Remove the file from AFP.
$ afprm AFPCOMP01
COMMENT: No error message.
ACTION: List the file.
$ afpls AFPCOMP01
RESULT: File not defined
COMMENT: The file is removed from AFP.
-ENDTC
8/7/2019 AP File Processing
123/422
TEST INSTRUCTION 123 (423)
2/1521 -ANZ 217 30 Uen
1999-02-10 B
Nr No.
Datum Date Rev File
E
4.1.4.9 -TCMAN!Internal program error
ENVIRONMENT: TAR
REQUIREMENT: AP File Processing, File, Report2/190 80-CNZ 217 3006 Uen Rev C
ADDITIONAL INFORMATION:The purpose of this test case is to verify that the diagnostic:Internal program error is received, according to the MAN.
RESULT: Internal program error
COMMENT: Exit code: 26
-ENDTC
4.1.4.10 -TCMAN!Wrong file type
ENVIRONMENT: TAR
REQUIREMENT: AP File Processing, File, Report2/190 80-CNZ 217 3006 Uen Rev C
ADDITIONAL INFORMATION:The purpose of this test case is to verify that the diagnostic:Wrong file type is received, according to the MAN.
ACTION: Provoke Wrong file type by trying to
report a subfile that belongs to an IFO file
to AFP function.
$ afprep IFOFILE1-0000000001
RESULT: Wrong file type
COMMENT: Exit code: 29
-ENDTC
-ENDGROUP
4.1.5 -GROUP!Command afprm with Operands Combined
4.1.5.1 -TCMAN!Remove a CP Subfile with the Operand Generation Specified
ENVIRONMENT: TAR
REQUIREMENT: AP File Processing, File, Delete3/190 80-CNZ 217 3006 Uen Rev C
ADDITIONAL INFORMATION:
8/7/2019 AP File Processing
124/422
TEST INSTRUCTION 124 (423)
2/1521 -ANZ 217 30 Uen
1999-02-10 B
Nr No.
Datum Date Rev File
E
The purpose of this test case is to verify that it is possible to specify the CPsubfile generation, which shall be removed, according to the MAN.
ACTION: Define the main file AFPCOMP01 to AFP.
$ afpdef AFPCOMP01 dest
RESULT: No error message.
ACTION: List the main file AFPCOMP01.
$ afpls AFPCOMP01
RESULT: AFPCOMP01
COMMENT: The composite main file AFPCOMP01
is defined to AFP.
ACTION: Report the subfile AFPCOMP01-SUBFILE-GEN1
to AFP.
$ afprep AFPCOMP01-SUBFILE-GEN1
RESULT: No error message.
ACTION: Report the subfile AFPCOMP01-SUBFILE-GEN2to AFP.
$ afprep AFPCOMP01-SUBFILE-GEN2
RESULT: No error message.
ACTION: List reported files.
$ afpls -as AFPCOMP01
RESULT:
FILE
AFPCOMP01
FILE CLASS REMOVE DELAY
COMPOSITE
SUBFILE REMOVE TIMER DESTINATIONS FILE STATUS
AFPCOMP01-SUBFILE-GEN1
dest READY
SUBFILE REMOVE TIMER DESTINATIONS FILE STATUS
AFPCOMP01-SUBFILE-GEN2
dest READY
ACTION: Remove/unreport the subfile
AFPCOMP01-SUBFILE-GEN1 from AFP.
8/7/2019 AP File Processing
125/422
TEST INSTRUCTION 125 (423)
2/1521 -ANZ 217 30 Uen
1999-02-10 B
Nr No.
Datum Date Rev File
E
$ afprm AFPCOMP01-SUBFILE-GEN1
RESULT: No error message.
ACTION: List reported files.
$ afpls -as AFPCOMP01
RESULT:
FILE
AFPCOMP01
FILE CLASS REMOVE DELAY
COMPOSITE
SUBFILE REMOVE TIMER DESTINATIONS FILE STATUS
AFPCOMP01-SUBFILE-GEN2
dest READY
COMMENT: Only the subfile AFPCOMP01-SUBFILE-GEN1
shall been removed.
ACTION: Remove the main file AFPCOMP01 from AFP.
$ afprm AFPCOMP01
RESULT: No error message.
ACTION: List the main file.
$ afpls AFPCOMP01
RESULT: File not defined
COMMENT: The composite main file AFPCOMP01 is
removed from AFP
-ENDTC
4.1.5.2 -TCMAN!Remove a CP File with all Operands Specified
ENVIRONMENT: TAR
REQUIREMENT: AP File Processing, File, Delete3/190 80-CNZ 217 3006 Uen Rev C
ADDITIONAL INFORMATION:The purpose of this test case is to verify that it is possible to remove a CP filewith all operands specified, according to the MAN.
ACTION: Define the CP main file AFPCOMP01 to AFP.
$ afpdef AFPCOMP01 dest
8/7/2019 AP File Processing
126/422
TEST INSTRUCTION 126 (423)
2/1521 -ANZ 217 30 Uen
1999-02-10 B
Nr No.
Datum Date Rev File
E
RESULT: No error message.
ACTION: List the CP main file AFPCOMP01.
$ afpls AFPCOMP01
RESULT: AFPCOMP01
COMMENT: The composite main file AFPCOMP01
is defined to AFP.
ACTION: Report the subfile AFPCOMP01-SUBFILE-001
to AFP.
$ afprep AFPCOMP01-SUBFILE-001
RESULT: No error message.
ACTION: Report the subfile AFPCOMP01-SUBFILE-002
to AFP.
$ afprep AFPCOMP01-SUBFILE-002
RESULT: No error message.
ACTION: Insert the new destination newdest.
$ afpchd -i newdest AFPCOMP01
RESULT: No error message.
ACTION: List reported files.
$ afpls -as AFPCOMP01
RESULT:
FILE
AFPCOMP01
FILE CLASS REMOVE DELAY
COMPOSITE
SUBFILE REMOVE TIMER DESTINATIONS FILE STATUS
AFPCOMP01-SUBFILE-001
dest READY
newdest READY
SUBFILE REMOVE TIMER DESTINATIONS FILE STATUS
AFPCOMP01-SUBFILE-002
dest READY
newdest READY
ACTION: Remove/unreport the subfile, with operandsfile-subfile-generation and destination
8/7/2019 AP File Processing
127/422
TEST INSTRUCTION 127 (423)
2/1521 -ANZ 217 30 Uen
1999-02-10 B
Nr No.
Datum Date Rev File
E
specified, from AFP.
$ afprm AFPCOMP01-SUBFILE-001 dest
RESULT: No error message.
ACTION: List reported files.
$ afpls -as AFPCOMP01
RESULT:
FILE
AFPCOMP01
FILE CLASS REMOVE DELAY
COMPOSITE
SUBFILE REMOVE TIMER DESTINATIONS FILE STATUS
AFPCOMP01-SUBFILE-001
dest NONE
newdest READY
SUBFILE REMOVE TIMER DESTINATIONS FILE STATUS
AFPCOMP01-SUBFILE-002
dest READY
newdest READY
COMMENT: The subfile AFPCOMP01-SUBFILE-001 shall have thefile status NONE for destination dest.
ACTION: Remove the main file AFPCOMP01 from AFP.
$ afprm AFPCOMP01
RESULT: No error message.
ACTION: List the file.
$ afpls AFPCOMP01
RESULT: File not defined
COMMENT: The composite main file AFPCOMP01
is removed from AFP.
-ENDTC
4.1.5.3 -TCMAN!Check that the Operand File is not Case Sensitive
ENVIRONMENT: TAR
REQUIREMENT: AP File Processing, File, Delete3/190 80-CNZ 217 3006 Uen Rev C
8/7/2019 AP File Processing
128/422
TEST INSTRUCTION 128 (423)
2/1521 -ANZ 217 30 Uen
1999-02-10 B
Nr No.
Datum Date Rev File
E
ADDITIONAL INFORMATION:The purpose of this test case is to verify that the operand file is not casesensitive.
ACTION: Define the composite main file AFPCOMP01
to AFP.
$ afpdef AFPCOMP01 dest
RESULT: No error message
ACTION: Report the subfile AFPCOMP01-SUBFILE-GEN1
$ afprep AFPCOMP01-SUBFILE-GEN1
RESULT: No error message
ACTION: List the CP file AFPCOMP01 file attributes
and its subfile in AFP.
$ afpls -as AFPCOMP01
RESULT: FILE
AFPCOMP01
FILE CLASS REMOVE DELAY
COMPOSITESUBFILE REMOVE TIMER DESTINATIONS FILE STATUS
AFPCOMP01-SUBFILE-GEN1
dest NONE
ACTION: Remove the subfile AFPCOMP01-SUBFILE-GEN1, with
small letters in the operand file, from AFP.
$ afprm afpcomp01-SUBFILE-GEN1
RESULT: No error message
ACTION: List the CP file AFPCOMP01 file attributes
and its subfile in AFP.
$ afpls -as AFPCOMP01
RESULT:
FILE
AFPCOMP01
FILE CLASS REMOVE DELAY REMOVE TIMER DESTINATIONS FILE STATUS
COMPOSITE dest NONE
COMMENT: The subfile is removed from AFP.
ACTION: Remove the composite main file AFPCOMP01from AFP.
8/7/2019 AP File Processing
129/422
TEST INSTRUCTION 129 (423)
2/1521 -ANZ 217 30 Uen
1999-02-10 B
Nr No.
Datum Date Rev File
E
$ afprm AFPCOMP01
RESULT: No error message
ACTION: List the CP file AFPCOMP01 in AFP.
$ afpls AFPCOMP01
RESULT: File not defined
COMMENT: The composite main file AFPCOMP01
is removed from AFP.
-ENDTC
4.1.5.4 -TCMAN!Check that the Operand Subfile is not Case Sensitive
ENVIRONMENT: TAR
REQUIREMENT: AP File Processing, File, Delete3/190 80-CNZ 217 3006 Uen Rev C
ADDITIONAL INFORMATION:The purpose of this test case is to verify that the operand subfile is not casesensitive.
ACTION: Define the composite main file AFPCOMP01
to AFP.
$ afpdef -d 55 AFPCOMP01 dest
RESULT: No error message
ACTION: Report the subfile AFPCOMP01-SUBFILE-GEN1
$ afprep AFPCOMP01-SUBFILE-GEN1
RESULT: No error message
ACTION: List the CP file AFPCOMP01 file attributes
and its subfile in AFP.
$ afpls -as AFPCOMP01
RESULT:
FILE
AFPCOMP01
FILE CLASS REMOVE DELAY
COMPOSITE
SUBFILE REMOVE TIMER DESTINATIONS FILE STATUS
AFPCOMP01-SUBFILE-GEN1
8/7/2019 AP File Processing
130/422
TEST INSTRUCTION 130 (423)
2/1521 -ANZ 217 30 Uen
1999-02-10 B
Nr No.
Datum Date Rev File
E
dest NONE
ACTION: Remove the subfile AFPCOMP01-SUBFILE-GEN1, with
small letters in the operand subfile, from AFP.
$ afprm AFPCOMP01-subfile-GEN1
RESULT: No error message
ACTION: List the CP file AFPCOMP01 file attributes
and its subfile in AFP.
$ afpls -as AFPCOMP01
RESULT:
FILE
AFPCOMP01
FILE CLASS REMOVE DELAY REMOVE TIMER DESTINATIONS FILE STATUS
COMPOSITE dest NONE
COMMENT: The subfile is removed from AFP.
ACTION: Remove the composite main file AFPCOMP01
from AFP.
$ afprm AFPCOMP01
RESULT: No error message
ACTION: List the CP file AFPCOMP01 in AFP.
$ afpls AFPCOMP01
RESULT: File not defined
COMMENT: The composite main file AFPCOMP01
is removed from AFP.
-ENDTC
4.1.5.5 -TCMAN!Check that the Operand Generation is not Case Sensitive
ENVIRONMENT: TAR
REQUIREMENT: AP File Processing, File, Delete3/190 80-CNZ 217 3006 Uen Rev C
ADDITIONAL INFORMATION:The purpose of this test case is to verify that the operand generation is notcase sensitive.
ACTION: Define the composite main file AFPCOMP01
8/7/2019 AP File Processing
131/422
TEST INSTRUCTION 131 (423)
2/1521 -ANZ 217 30 Uen
1999-02-10 B
Nr No.
Datum Date Rev File
E
to AFP.
$ afpdef -d 55 AFPCOMP01 dest
RESULT: No error message
ACTION: Report the subfile AFPCOMP01-SUBFILE-GEN1
$ afprep AFPCOMP01-SUBFILE-GEN1
RESULT: No error message
ACTION: List the CP file AFPCOMP01 file attributes
and its subfile in AFP.
$ afpls -as AFPCOMP01
RESULT:
FILE
AFPCOMP01
FILE CLASS REMOVE DELAY
COMPOSITE
SUBFILE REMOVE TIMER DESTINATIONS FILE STATUS
AFPCOMP01-SUBFILE-GEN1
dest NONE
ACTION: Remove the subfile AFPCOMP01-SUBFILE-GEN1, with
small letters in the operand generation, from AFP.
$ afprm AFPCOMP01-SUBFILE-gen1
RESULT: No error message
ACTION: List the CP file AFPCOMP01 file attributes
and its subfile in AFP.
$ afpls -as AFPCOMP01
RESULT:
FILE
AFPCOMP01
FILE CLASS REMOVE DELAY REMOVE TIMER DESTINATIONS FILE STATUS
COMPOSITE dest NONE
COMMENT: The subfile is removed from AFP.
ACTION: Remove the composite main file AFPCOMP01
from AFP.
$ afprm AFPCOMP01
RESULT: No error message
8/7/2019 AP File Processing
132/422
TEST INSTRUCTION 132 (423)
2/1521 -ANZ 217 30 Uen
1999-02-10 B
Nr No.
Datum Date Rev File
E
ACTION: List the CP file AFPCOMP01 in AFP.
$ afpls AFPCOMP01
RESULT: File not defined
COMMENT: The composite main file AFPCOMP01
is removed from AFP.
-ENDTC
4.1.5.6 -TCMAN!Check that the Operand Destination is Case Sensitive
ENVIRONMENT: TAR
REQUIREMENT: AP File Processing, File, Delete3/190 80-CNZ 217 3006 Uen Rev C
ADDITIONAL INFORMATION:The purpose of this test case is to verify that the operand destination is casesensitive.
ACTION: Define the CP file AFPCOMP01 to AFP.
$ afpdef -d 55 AFPCOMP01 dest
RESULT: No error message
ACTION: Report the a subfile to AFP.
$ afprep AFPCOMP01-SUBFILE-GEN1
RESULT: No error message
ACTION: List the file attributes for the
CP file AFPCOMP01 in AFP.
$ afpls -as AFPCOMP01
RESULT:
FILE
AFPCOMP01
FILE CLASS REMOVE DELAY
COMPOSITE
SUBFILE REMOVE TIMER DESTINATIONS FILE STATUS
AFPCOMP01-SUBFILE-GEN1
dest NONE
ACTION: Remove the subfile from AFP. (With capital
letters in the operand destination).
8/7/2019 AP File Processing
133/422
TEST INSTRUCTION 133 (423)
2/1521 -ANZ 217 30 Uen
1999-02-10 B
Nr No.
Datum Date Rev File
E
$ afprm AFPCOMP01-SUBFILE-GEN1 DEST
RESULT: Destination does not exist
ACTION: Remove the subfile from AFP again.
(With small letters in the operand destination).
$ afprm AFPCOMP01-SUBFILE-GEN1 dest
RESULT: No error message
ACTION: List the CP file AFPCOMP01 file attributes
and its subfile in AFP.
$ afpls -as AFPCOMP01
RESULT:
FILE
AFPCOMP01
FILE CLASS REMOVE DELAY REMOVE TIMER DESTINATIONS FILE STATUS
COMPOSITE dest NONE
COMMENT: The subfile is removed from AFP.
ACTION: Remove the CP file AFPCOMP01 from AFP.
$ afprm AFPCOMP01 dest
RESULT: No error message
ACTION: List the file.
$ afpls AFPCOMP01
RESULT: File not defined
COMMENT: The CP file AFPCOMP01
is removed from AFP.
-ENDTC
4.1.5.7 -TCMAN!Check that the Operand Unix File is Case Sensitive
ENVIRONMENT: TAR
REQUIREMENT: AP File Processing, File, Delete3/190 80-CNZ 217 3006 Uen Rev C
ADDITIONAL INFORMATION:
The purpose of this test case is to verify that the operand Unix file is casesensitive.
8/7/2019 AP File Processing
134/422
TEST INSTRUCTION 134 (423)
2/1521 -ANZ 217 30 Uen
1999-02-10 B
Nr No.
Datum Date Rev File
E
ACTION: Define a Unix file to AFP.
$ afpdef $HOME/unix01 dest
RESULT: No error message.
ACTION: List the file.
$ afpls unix01
RESULT: unix01
COMMENT: The Unix file unix01 is defined to AFP.
ACTION: Remove the Unix file unix01 from AFP.
(With capital letters in the operand unixfile).
$ afprm UNIX01
RESULT: File not defined
COMMENT: It shall not be possible to remove
the Unix file.
ACTION: Remove the Unix file unix01 from AFP.
$ afprm unix01
RESULT: No error message
ACTION: List the file.
$ afpls unix01
RESULT: File not defined
COMMENT: The Unix file unix01
is removed from AFP.
-ENDTC
-ENDGROUP
4.1.6 -GROUP!Command afprm Printouts
4.1.6.1 -TCMAN!Error when executing
ENVIRONMENT: TAR
REQUIREMENT: AP File Processing, File, Delete3/190 80-CNZ 217 3006 Uen Rev C
ADDITIONAL INFORMATION:
8/7/2019 AP File Processing
135/422
TEST INSTRUCTION 135 (423)
2/1521 -ANZ 217 30 Uen
1999-02-10 B
Nr No.
Datum Date Rev File
E
The purpose of this test case is to verify that the diagnostic:Error when executing is received, according to the MAN.
RESULT: Error when executing
COMMENT: Exit code: 1
-ENDTC
4.1.6.2 -TCMAN!Usage: afprm
ENVIRONMENT: TAR
REQUIREMENT: AP File Processing, File, Delete3/190 80-CNZ 217 3006 Uen Rev C
ADDITIONAL INFORMATION:The purpose of this test case is to verify that the diagnostic:Usage: is received, according to the MAN.
ACTION: Provoke Usage:.
$ afprm
RESULT: Usage: afprm file[-subfile[-generation] [destination]]
COMMENT: Exit code: 2
-ENDTC
4.1.6.3 -TCMAN!File not defined
ENVIRONMENT: TAR
REQUIREMENT: AP File Processing, File, Delete
3/190 80-CNZ 217 3006 Uen Rev C
ADDITIONAL INFORMATION:The purpose of this test case is to verify that the diagnostic:File not defined is received, according to the MAN.
ACTION: Provoke File not defined by trying to
remove a file that does not exist.
$ afprm FORREST
RESULT: File not defined
COMMENT: Exit code: 11
8/7/2019 AP File Processing
136/422
TEST INSTRUCTION 136 (423)
2/1521 -ANZ 217 30 Uen
1999-02-10 B
Nr No.
Datum Date Rev File
E
-ENDTC
4.1.6.4 -TCMAN!File not composite
ENVIRONMENT: TAR
REQUIREMENT: AP File Processing, File, Delete3/190 80-CNZ 217 3006 Uen Rev C
ADDITIONAL INFORMATION:The purpose of this test case is to verify that the diagnostic:File is not composite is received, according to the MAN.
ACTION: Define the simple file
AFPSIMPLE01 to AFP.
$ afpdef AFPSIMPLE01 dest
RESULT: No error message.
ACTION: List the simple file AFPSIMPLE01.
$ afpls AFPSIMPLE01
RESULT: AFPSIMPLE01
COMMENT: The simple file AFPSIMPLE01
is defined to AFP.
ACTION: Provoke File is not composite
by trying to remove a subfile.
$ afprm AFPSIMPLE01-SUBFIL01
RESULT: File is not composite
COMMENT: Exit code: 15
ACTION: Remove the simple file
AFPSIMPLE01 from AFP.
$ afprm AFPSIMPLE01
RESULT: No error message.
ACTION: List the simple file AFPSIMPLE01.
$ afpls AFPSIMPLE01
RESULT: File not defined
COMMENT: The simple file AFPSIMPLE01
8/7/2019 AP File Processing
137/422
TEST INSTRUCTION 137 (423)
2/1521 -ANZ 217 30 Uen
1999-02-10 B
Nr No.
Datum Date Rev File
E
is removed from AFP.
-ENDTC
4.1.6.5 -TCMAN!Subfile not reported
ENVIRONMENT: TAR
REQUIREMENT: AP File Processing, File, Delete3/190 80-CNZ 217 3006 Uen Rev C
ADDITIONAL INFORMATION:
The purpose of this test case is to verify that the diagnostic:Subfile not reported is received, according to the MAN.
ACTION: Define the composite main file AFPCOMP01 to AFP.
$ afpdef AFPCOMP01 dest
RESULT: No error message.
ACTION: List the main file AFPCOMP01.
$ afpls AFPCOMP01
RESULT: AFPCOMP01
COMMENT: The composite main file AFPCOMP01
is defined to AFP.
ACTION: Provoke Subfile not found by trying
to remove an unreported subfile.
$ afprm AFPCOMP01-SUBFILE01
RESULT: Subfile not reported
COMMENT: Exit code: 18
ACTION: Remove the main file AFPCOMP01 from AFP.
$ afprm AFPCOMP01
RESULT: No error message
ACTION: List the file.
$ afpls AFPCOMP01
RESULT: File not defined
COMMENT: The file is removed from AFP.
8/7/2019 AP File Processing
138/422
TEST INSTRUCTION 138 (423)
2/1521 -ANZ 217 30 Uen
1999-02-10 B
Nr No.
Datum Date Rev File
E
-ENDTC
4.1.6.6 -TCMAN!Destination does not exist
ENVIRONMENT: TAR
REQUIREMENT: AP File Processing, File, Delete3/190 80-CNZ 217 3006 Uen Rev C
ADDITIONAL INFORMATION:The purpose of this test case is to verify that the diagnostic:
Destination does not exist is received, according to the MAN.
ACTION: Define the composite main file AFPCOMP01 to AFP.
$ afpdef AFPCOMP01 dest
RESULT: No error message.
ACTION: List the main file AFPCOMP01.
$ afpls AFPCOMP01
RESULT: AFPCOMP01
COMMENT: The composite main file AFPCOMP01
is defined to AFP.
ACTION: Report the subfile AFPCOMP01-SUBFILE01
to AFP.
$ afprep AFPCOMP01-SUBFILE01
ACTION: Remove the subfile with a faulty destination.
$ afprm AFPCOMP01-SUBFILE01 newdest
RESULT: Destination does not exist
COMMENT: Exit code: 22
ACTION: Remove the main file AFPCOMP01 from AFP.
$ afprm AFPCOMP01
RESULT: No error message
ACTION: List the file.
$ afpls AFPCOMP01
8/7/2019 AP File Processing
139/422
TEST INSTRUCTION 139 (423)
2/1521 -ANZ 217 30 Uen
1999-02-10 B
Nr No.
Datum Date Rev File
E
RESULT: File not defined
COMMENT: The file is removed from AFP.
-ENDTC
4.1.6.7 -TCMAN!Access error
ENVIRONMENT: TAR
REQUIREMENT: AP File Processing, File, Delete3/190 80-CNZ 217 3006 Uen Rev C
ADDITIONAL INFORMATION:The purpose of this test case is to verify that the diagnostic:Access error is received, according to the MAN.
RESULT: Access error
COMMENT: Exit code: 24
-ENDTC
4.1.6.8 -TCMAN!Cant connect to FMS_AFP_server
ENVIRONMENT: TAR
REQUIREMENT: AP File Processing, File, Delete3/190 80-CNZ 217 3006 Uen Rev C
ADDITIONAL INFORMATION:The purpose of this test case is to verify that the diagnostic:Cant connect to FMS_AFP_server is received, according to the MAN.
COMMENT: For this test case root permission
is necessary.
ACTION: Define a file to AFP.
afpdef AFPSIMPLE01 dest
RESULT: No error message
ACTION: Switch user to root.
>su -
RESULT: Password
ACTION: Enter password.
8/7/2019 AP File Processing
140/422
TEST INSTRUCTION 140 (423)
2/1521 -ANZ 217 30 Uen
1999-02-10 B
Nr No.
Datum Date Rev File
E
********
RESULT: Wed Feb 4 15:07:50 MET 1998
root>
ACTION: Start prcutil program.
root>prcutil
RESULT: prcutil>
ACTION: Kill Process Group FMS.
prcutil>k FMS
RESULT: prcutil>
COMMENT: No error message.
ACTION: Quit prcutil program.
prcutil>q
RESULT: root>
ACTION: Exit root.
root>exit
RESULT: >
COMMENT: No error message.
ACTION: Remove the file from AFP.
$ afprm AFPSIMPLE01
RESULT: Cant connect to FMS_AFP_server
COMMENT: Exit code: 25
ACTION: Switch user to root.
>su-
RESULT: Password
ACTION: Enter password.
********
8/7/2019 AP File Processing
141/422
TEST INSTRUCTION 141 (423)
2/1521 -ANZ 217 30 Uen
1999-02-10 B
Nr No.
Datum Date Rev File
E
RESULT: Wed Feb 4 15:10:20 MET 1998root>
ACTION: Start prcutil program.
root>prcutil
RESULT: prcutil>
ACTION: Start Process Group FMS.
prcutil>s FMS
RESULT: prcutil>
COMMENT: No error message.
ACTION: Quit prcutil program.
prcutil>q
RESULT: root>
ACTION: Exit root.
root>exit
RESULT: >
COMMENT: No error message
ACTION: Remove the file from AFP.
$ afprm AFPSIMPLE01
COMMENT: No error message.
ACTION: List the file.
$ afpls AFPSIMPLE01
RESULT: File not defined
COMMENT: The file is removed from AFP.
-ENDTC
4.1.6.9 -TCMAN!Internal program error
ENVIRONMENT: TAR
8/7/2019 AP File Processing
142/422
TEST INSTRUCTION 142 (423)
2/1521 -ANZ 217 30 Uen
1999-02-10 B
Nr No.
Datum Date Rev File
E
REQUIREMENT: AP File Processing, File, Delete3/190 80-CNZ 217 3006 Uen Rev C
ADDITIONAL INFORMATION:The purpose of this test case is to verify that the diagnostic:Internal program error is received, according to the MAN.
RESULT: Internal program error
COMMENT: Exit code: 26
-ENDTC
-ENDGROUP
4.1.7 -GROUP!Command afpls with Option/Options
4.1.7.1 -TCMAN!File Attributes
ENVIRONMENT: TAR
REQUIREMENT: AP File Processing, Files, List4/190 80-CNZ 217 3006 Uen Rev D
ADDITIONAL INFORMATION:The purpose of this test case is to verify that it is possible to list the fileattributes as remove delay, FILE CLASS, remove timer, file status anddestinations for all files, according to the MAN.
ACTION: Define a simple file, a Unix file
and a composite main file to AFP.
$ afpdef -d 100 AFPSIMPLE01 simpdest
RESULT: No error message.
$ afpdef -u -d 200 $HOME/unix01 unixdest
RESULT: No error message.
$ afpdef -d 300 AFPCOMP01 compdest
RESULT: No error message.
ACTION: List all files and their attributes.
$ afpls -a
RESULT:
FILE
unix01
FILE CLASS REMOVE DELAY REMOVE TIMER DESTINATIONS FILE STATUS
8/7/2019 AP File Processing
143/422
TEST INSTRUCTION 143 (423)
2/1521 -ANZ 217 30 Uen
1999-02-10 B
Nr No.
Datum Date Rev File
E
UNIX 200 199 unixdest READY
FILE
AFPSIMPLE01
FILE CLASS REMOVE DELAY REMOVE TIMER DESTINATIONS FILE STATUS
SIMPLE 100 99 simpdest READY
FILE
AFPCOMP01
FILE CLASS REMOVE DELAY REMOVE TIMER DESTINATIONS FILE STATUS
COMPOSITE 300 compdest
COMMENT: A list with all attributes as FILE CLASS,
remove delay, remove timer, destination and
file status for all files shall be printed.
ACTION: Remove all defined files from AFP.
$ afprm AFPSIMPLE01
RESULT: No error message.
$ afprm unix01
RESULT: No error message.
$ afprm AFPCOMP01
RESULT: No error message.
ACTION: List all files.
$ afpls
RESULT: $
COMMENT: The removed files shall not be
present in the list.
-ENDTC
4.1.7.2 -TCMAN!All Reported Subfile
ENVIRONMENT: TAR
REQUIREMENT: AP File Processing, Files, List4/190 80-CNZ 217 3006 Uen Rev D
ADDITIONAL INFORMATION:
8/7/2019 AP File Processing
144/422
TEST INSTRUCTION 144 (423)
2/1521 -ANZ 217 30 Uen
1999-02-10 B
Nr No.
Datum Date Rev File
E
The purpose of this test case is to verify that it is possible to list all reportedsubfiles, according to the MAN.
ACTION: Define the composite main file AFPCOMP01 to AFP.
$ afpdef AFPCOMP01 dest
RESULT: No error message.
ACTION: Report all its subfiles to AFP in
following order.
$ afprep AFPCOMP01-SUBFILE01
$ afprep AFPCOMP01-SUBFILE02
$ afprep AFPCOMP01-SUBFILE03
$ afprep AFPCOMP01-SUBFILE-001
$ afprep AFPCOMP01-SUBFILE-002
$ afprep AFPCOMP01-SUBFILE-003
$ afprep AFPCOMP01-SUBFILE-GEN1
$ afprep AFPCOMP01-SUBFILE-GEN2
RESULT: No error message.
ACTION: List all reported subfiles.
$ afpls -s
RESULT: AFPCOMP01
AFPCOMP01-SUBFILE01
AFPCOMP01-SUBFILE02
AFPCOMP01-SUBFILE03
AFPCOMP01-SUBFILE-001
AFPCOMP01-SUBFILE-002
AFPCOMP01-SUBFILE-003
AFPCOMP01-SUBFILE-GEN1
AFPCOMP01-SUBFILE-GEN2
COMMENT: A list with the CP file AFPCOMP01
and its reported subfiles, shall be printed.
ACTION: Remove the defined main file.
$ afprm AFPCOMP01
RESULT: No error message.
8/7/2019 AP File Processing
145/422
TEST INSTRUCTION 145 (423)
2/1521 -ANZ 217 30 Uen
1999-02-10 B
Nr No.
Datum Date Rev File
E
ACTION: List the composite main file AFPCOMP01.
$ afpls AFPCOMP01
RESULT: File not defined.
COMMENT: The composite main file AFPCOMP01
is removed from AFP.
-ENDTC
4.1.7.3 -TCMAN!First Reported Subfile
ENVIRONMENT: TAR
REQUIREMENT: AP File Processing, Files, List4/190 80-CNZ 217 3006 Uen Rev D
ADDITIONAL INFORMATION:The purpose of this test case is to verify that it is possible to list the firstreported subfile, according to the MAN.
ACTION: Define the composite main file AFPCOMP01 to AFP.
$ afpdef AFPCOMP01 dest
RESULT: No error message.
ACTION: Report all its subfiles to AFP in
following order.
$ afprep AFPCOMP01-SUBFILE01
$ afprep AFPCOMP01-SUBFILE-001
$ afprep AFPCOMP01-SUBFILE-GEN
RESULT: No error message.
ACTION: List reported files for the CP file AFPCOMP01.
$ afpls -s AFPCOMP01
RESULT: AFPCOMP01
AFPCOMP01-SUBFILE01
AFPCOMP01-SUBFILE-001
AFPCOMP01-SUBFILE-GEN1
ACTION: List the first reported subfile.
$ afpls -f
8/7/2019 AP File Processing
146/422
TEST INSTRUCTION 146 (423)
2/1521 -ANZ 217 30 Uen
1999-02-10 B
Nr No.
Datum Date Rev File
E
RESULT: AFPCOMP01
AFPCOMP01-SUBFILE01
COMMENT: Only the first reported subfile for the
defined main file shall be listed.
ACTION: Remove the defined main file.
$ afprm AFPCOMP01
RESULT: No error message.
ACTION: List composite main file AFPCOMP01.
$ afpls AFPCOMP01
RESULT: File not defined.
COMMENT: The composite main file AFPCOMP01
is removed from AFP.
-ENDTC
4.1.7.4 -TCMAN!Last Reported Subfile
ENVIRONMENT: TAR
REQUIREMENT: AP File Processing, Files, List4/190 80-CNZ 217 3006 Uen Rev D
ADDITIONAL INFORMATION:The purpose of this test case is to verify that it is possible to list the lastreported subfile, according to the MAN.
ACTION: Define the composite main file AFPCOMP01 to AFP.
$ afpdef AFPCOMP01 dest
RESULT: No error message.
ACTION: Report all its subfiles to AFP in
following order.
$ afprep AFPCOMP01-SUBFILE01
$ afprep AFPCOMP01-SUBFILE-001
$ afprep AFPCOMP01-SUBFILE-GEN1
RESULT: No error message.
8/7/2019 AP File Processing
147/422
TEST INSTRUCTION 147 (423)
2/1521 -ANZ 217 30 Uen
1999-02-10 B
Nr No.
Datum Date Rev File
E
ACTION: List reported files.
$ afpls -s
RESULT: AFPCOMP01
AFPCOMP01-SUBFILE01
AFPCOMP01-SUBFILE-001
AFPCOMP01-SUBFILE-GEN1
COMMENT: All reported subfiles shall be listed.
ACTION: List the last reported subfile.
$ afpls -l
RESULT: AFPCOMP01
AFPCOMP01-SUBFILE-GEN1
COMMENT: Only the last reported subfile for
defined main files shall be listed.
ACTION: Remove the defined main file.
$ afprm AFPCOMP01
RESULT: No error message.
ACTION: List composite main file AFPCOMP01.
$ afpls AFPCOMP01
RESULT: File not defined.
COMMENT: The composite main file AFPCOMP01
is removed from AFP.
-ENDTC
4.1.7.5 -TCMAN!File Attributes and Quiet Printout Combined
ENVIRONMENT: TAR
REQUIREMENT: AP File Processing, Files, List4/190 80-CNZ 217 3006 Uen Rev D
ADDITIONAL INFORMATION:The purpose of this test case is to verify that it is possible to list files in AFPwith options file attributes and quiet printout combined, according to the MAN.
ACTION: Define a simple file, a Unix file
and a composite main file to AFP.
8/7/2019 AP File Processing
148/422
TEST INSTRUCTION 148 (423)
2/1521 -ANZ 217 30 Uen
1999-02-10 B
Nr No.
Datum Date Rev File
E
$ afpdef -d 100 AFPSIMPLE01 simpdest
RESULT: No error message.
$ afpdef -u -d 200 $HOME/unix01 unixdest
RESULT: No error message.
$ afpdef -d 300 AFPCOMP01 compdest
RESULT: No error message.
ACTION: List all files and their attributes.
$ afpls -a
RESULT:
FILE
unix01
FILE CLASS REMOVE DELAY REMOVE TIMER DESTINATIONS FILE STATUS
UNIX 200 199 unixdest READY
FILE
AFPSIMPLE01
FILE CLASS REMOVE DELAY REMOVE TIMER DESTINATIONS FILE STATUSSIMPLE 100 99 simpdest READY
FILE
AFPCOMP01
FILE CLASS REMOVE DELAY REMOVE TIMER DESTINATIONS FILE STATUS
COMPOSITE 300 compdest
ACTION: List with options file attributes and
quiet printout combined.
$ afpls -aq
RESULT:
unix01
UNIX 100 99 unixdest READY
AFPSIMPLE01
SIMPLE 100 99 simpdest READY
AFPCOMP01
COMPOSITE 100 compdest
COMMENT: The same list is printed, but the
8/7/2019 AP File Processing
149/422
TEST INSTRUCTION 149 (423)
2/1521 -ANZ 217 30 Uen
1999-02-10 B
Nr No.
Datum Date Rev File
E
headings shall be suppressed.
ACTION: Remove all defined files from AFP.
$ afprm AFPSIMPLE01
RESULT: No error message.
$ afprm unix01
RESULT: No error message.
$ afprm AFPCOMP01
RESULT: No error message.
ACTION: List all files.
$ afpls
RESULT: $
COMMENT: The removed files shall not be
present in the list.
-ENDTC
4.1.7.6 -TCMAN!File Attributes and All Reported Subfiles Combined
ENVIRONMENT: TAR
REQUIREMENT: AP File Processing, Files, List4/190 80-CNZ 217 3006 Uen Rev D
ADDITIONAL INFORMATION:The purpose of this test case is to verify that it is possible to list files in AFP withoptions file attributes and all reported subfiles combined, according to the MAN.
ACTION: Define the composite main file AFPCOMP01 to AFP.
$ afpdef -d 55 AFPCOMP01 dest
RESULT: No error message.
ACTION: Report all its subfiles to AFP in
following order.
$ afprep AFPCOMP01-SUBFILE01
$ afprep AFPCOMP01-SUBFILE02
$ afprep AFPCOMP01-SUBFILE03
8/7/2019 AP File Processing
150/422
TEST INSTRUCTION 150 (423)
2/1521 -ANZ 217 30 Uen
1999-02-10 B
Nr No.
Datum Date Rev File
E
$ afprep AFPCOMP01-SUBFILE-001
$ afprep AFPCOMP01-SUBFILE-002
$ afprep AFPCOMP01-SUBFILE-003
$ afprep AFPCOMP01-SUBFILE-GEN1
$ afprep AFPCOMP01-SUBFILE-GEN2
RESULT: No error message.
ACTION: List the file attributes and all reported subfiles.
$ afpls -as
RESULT:
FILE
AFPCOMP01
FILE CLASS REMOVE DELAY
COMPOSITE 55
SUBFILE REMOVE TIMER DESTINATIONS FILE STATUS
AFPCOMP01-SUBFILE01 54
dest READY
SUBFILE REMOVE TIMER DESTINATIONS FILE STATUS
AFPCOMP01-SUBFILE02 54
dest READY
SUBFILE REMOVE TIMER DESTINATIONS FILE STATUS
AFPCOMP01-SUBFILE03 54
dest READY
SUBFILE REMOVE TIMER DESTINATIONS FILE STATUS
AFPCOMP01-SUBFILE-001 54
dest READY
SUBFILE REMOVE TIMER DESTINATIONS FILE STATUS
AFPCOMP01-SUBFILE-002 54
dest READY
SUBFILE REMOVE TIMER DESTINATIONS FILE STATUS
AFPCOMP01-SUBFILE-003 54
dest READY
SUBFILE REMOVE TIMER DESTINATIONS FILE STATUS
AFPCOMP01-SUBFILE-GEN1 54
dest READY
SUBFILE REMOVE TIMER DESTINATIONS FILE STATUSAFPCOMP01-SUBFILE-GEN2 54
8/7/2019 AP File Processing
151/422
TEST INSTRUCTION 151 (423)
2/1521 -ANZ 217 30 Uen
1999-02-10 B
Nr No.
Datum Date Rev File
E
dest READY
COMMENT: The file attributes of the file AFPCOMP01
and all reported subfile shall be listed.
ACTION: Remove the defined main file.
$ afprm AFPCOMP01
RESULT: No error message.
ACTION: List composite main file AFPCOMP01.
$ afpls AFPCOMP01
RESULT: File not defined.
COMMENT: The composite main file AFPCOMP01
is removed from AFP.
-ENDTC
4.1.7.7 -TCMAN!File Attributes, Quiet Printout and All Reported SubfilesCombined
ENVIRONMENT: TAR
REQUIREMENT: AP File Processing, Files, List4/190 80-CNZ 217 3006 Uen Rev D
ADDITIONAL INFORMATION:The purpose of this test case is to verify that it is possible to list files in AFPwith options file attributes, quiet printout and all reported subfiles combined,according to the MAN.
ACTION: Define the composite main file AFPCOMP01 to AFP.
$ afpdef -d 55 AFPCOMP01 dest
RESULT: No error message.
ACTION: Report all its subfiles to AFP in
following order.
$ afprep AFPCOMP01-SUBFILE01
$ afprep AFPCOMP01-SUBFILE02
$ afprep AFPCOMP01-SUBFILE03
$ afprep AFPCOMP01-SUBFILE-001
8/7/2019 AP File Processing
152/422
TEST INSTRUCTION 152 (423)
2/1521 -ANZ 217 30 Uen
1999-02-10 B
Nr No.
Datum Date Rev File
E
$ afprep AFPCOMP01-SUBFILE-002
$ afprep AFPCOMP01-SUBFILE-003
$ afprep AFPCOMP01-SUBFILE-GEN1
$ afprep AFPCOMP01-SUBFILE-GEN2
RESUL