FOSSology
4.4.0
Open Source License Compliance by Open Source Software
|
Test the ununpack agent cli parameters. (Normal) More...
Public Member Functions | |
setUp () | |
Setup test repo and db. More... | |
tearDown () | |
Teardown test repo and db. More... | |
testNormalParamI () | |
Call agent with -i flag. More... | |
testNormalIso1 () | |
Pass an iso to agent. More... | |
testNormalParamL () | |
Pass a log file to the agent. More... | |
testNormalParamx () | |
Check clean flag. More... | |
testNormalParamr () | |
Check recurse flag. More... | |
testNormalIso2 () | |
Pass an iso to agent. More... | |
testNormalRpm () | |
Check for RPM files. More... | |
testNormalTar () | |
Check for TAR files. More... | |
testNormalJar () | |
Check for RAR files compressed on Windows systems. More... | |
testNormalZip () | |
Check for ZIP files. More... | |
testNormalDsc () | |
Check for CAB and MSI files. More... | |
testNormalCompressedFile () | |
Check for Z, GZ and BZ2 files. More... | |
testNormalTarball () | |
Check for Z, GZ and BZ2 tarballs. More... | |
testNormalPdf () | |
Check for PDF files. More... | |
testNormalFsImage () | |
Check for UPX files. More... | |
testNormalMultyProcess () | |
Check for multi process flag. More... | |
testNormalEXE () | |
Check for EXE files. More... | |
testNormalcpio () | |
Check for CPIO files. More... | |
testNormalZst () | |
Check for ZST file. More... | |
testNormalLz4 () | |
Check for lz4 file. More... | |
testNormalLzma () | |
Check for lzma file. More... | |
Private Attributes | |
$agentDir | |
$ununpack | |
$testDb | |
$testInstaller | |
Test the ununpack agent cli parameters. (Normal)
Definition at line 25 of file cliParamsTest4UnunpackNormal.php.
cliParamsTest4Ununpack::setUp | ( | ) |
Setup test repo and db.
Definition at line 49 of file cliParamsTest4UnunpackNormal.php.
cliParamsTest4Ununpack::tearDown | ( | ) |
Teardown test repo and db.
Definition at line 77 of file cliParamsTest4UnunpackNormal.php.
cliParamsTest4Ununpack::testNormalCompressedFile | ( | ) |
Check for Z, GZ and BZ2 files.
Definition at line 381 of file cliParamsTest4UnunpackNormal.php.
cliParamsTest4Ununpack::testNormalcpio | ( | ) |
Check for CPIO files.
Definition at line 594 of file cliParamsTest4UnunpackNormal.php.
cliParamsTest4Ununpack::testNormalDsc | ( | ) |
Check for CAB and MSI files.
Check for DSC files
Definition at line 363 of file cliParamsTest4UnunpackNormal.php.
cliParamsTest4Ununpack::testNormalEXE | ( | ) |
Check for EXE files.
Definition at line 575 of file cliParamsTest4UnunpackNormal.php.
cliParamsTest4Ununpack::testNormalFsImage | ( | ) |
Check for UPX files.
Check for disk images (file systems)
Definition at line 484 of file cliParamsTest4UnunpackNormal.php.
cliParamsTest4Ununpack::testNormalIso1 | ( | ) |
Pass an iso to agent.
Command is ununpack -qCR xxxxx -d xxxxx
Definition at line 111 of file cliParamsTest4UnunpackNormal.php.
cliParamsTest4Ununpack::testNormalIso2 | ( | ) |
Pass an iso to agent.
Definition at line 190 of file cliParamsTest4UnunpackNormal.php.
cliParamsTest4Ununpack::testNormalJar | ( | ) |
Check for RAR files compressed on Windows systems.
unpack archive lib and xx.deb/xx.udeb file
Check for archive lib and deb files
Check for Jar files
Definition at line 296 of file cliParamsTest4UnunpackNormal.php.
cliParamsTest4Ununpack::testNormalLz4 | ( | ) |
Check for lz4 file.
unpack lz4 file
Definition at line 636 of file cliParamsTest4UnunpackNormal.php.
cliParamsTest4Ununpack::testNormalLzma | ( | ) |
Check for lzma file.
unpack lzma file
Definition at line 660 of file cliParamsTest4UnunpackNormal.php.
cliParamsTest4Ununpack::testNormalMultyProcess | ( | ) |
Check for multi process flag.
Command is ununpack -qCR -m 10 xxxxx -d xxxxx
-m
flagDefinition at line 552 of file cliParamsTest4UnunpackNormal.php.
cliParamsTest4Ununpack::testNormalParamI | ( | ) |
Call agent with -i
flag.
-i
flag to initialize dbDefinition at line 96 of file cliParamsTest4UnunpackNormal.php.
cliParamsTest4Ununpack::testNormalParamL | ( | ) |
Pass a log file to the agent.
Command is ununpack -qCR xxxxx -d xxxxx -L log
-L
flagDefinition at line 132 of file cliParamsTest4UnunpackNormal.php.
cliParamsTest4Ununpack::testNormalParamr | ( | ) |
Check recurse flag.
Command is ununpack -qC -r 0 -d xxxxx
-r
flagDefinition at line 172 of file cliParamsTest4UnunpackNormal.php.
cliParamsTest4Ununpack::testNormalParamx | ( | ) |
Check clean flag.
Command is ununpack -qCR -x xxxxx -d xxxxx
-x
flagDefinition at line 153 of file cliParamsTest4UnunpackNormal.php.
cliParamsTest4Ununpack::testNormalPdf | ( | ) |
Check for PDF files.
Definition at line 450 of file cliParamsTest4UnunpackNormal.php.
cliParamsTest4Ununpack::testNormalRpm | ( | ) |
Check for RPM files.
Definition at line 206 of file cliParamsTest4UnunpackNormal.php.
cliParamsTest4Ununpack::testNormalTar | ( | ) |
Check for TAR files.
Definition at line 226 of file cliParamsTest4UnunpackNormal.php.
cliParamsTest4Ununpack::testNormalTarball | ( | ) |
Check for Z, GZ and BZ2 tarballs.
Definition at line 421 of file cliParamsTest4UnunpackNormal.php.
cliParamsTest4Ununpack::testNormalZip | ( | ) |
Check for ZIP files.
Definition at line 313 of file cliParamsTest4UnunpackNormal.php.
cliParamsTest4Ununpack::testNormalZst | ( | ) |
Check for ZST file.
unpack ZST file
Definition at line 612 of file cliParamsTest4UnunpackNormal.php.
|
private |
Location of agent directory
Definition at line 30 of file cliParamsTest4UnunpackNormal.php.
|
private |
Test db
Definition at line 39 of file cliParamsTest4UnunpackNormal.php.
|
private |
TestInstaller object
Definition at line 43 of file cliParamsTest4UnunpackNormal.php.
|
private |
Location of agent binary
Definition at line 34 of file cliParamsTest4UnunpackNormal.php.