diff options
| author | Joel Andres Granados <jgranado@redhat.com> | 2008-11-19 21:15:10 +0100 |
|---|---|---|
| committer | Joel Andres Granados <jgranado@redhat.com> | 2008-11-20 13:46:22 +0100 |
| commit | c5d0300ce1f2cb221e1102db8d77251f68d0c3d0 (patch) | |
| tree | 4a654278d54f1a58b4d460184673d5e110b5fbf6 /testsuite/cli | |
| parent | b8d360b0142961972e4d7bfa67841542554725a3 (diff) | |
| download | firstaidkit-c5d0300ce1f2cb221e1102db8d77251f68d0c3d0.tar.gz firstaidkit-c5d0300ce1f2cb221e1102db8d77251f68d0c3d0.tar.xz firstaidkit-c5d0300ce1f2cb221e1102db8d77251f68d0c3d0.zip | |
testsuite/cli tests:
1. Do the test the right way. We were checking the exact output in order
to validate the correctness of the cli. Randomness in FAK and other
issues interfered with this test schema. We now check specific output
string in the whole output.
Diffstat (limited to 'testsuite/cli')
| -rwxr-xr-x | testsuite/cli/outputs/firstaidkit_-a | 17 | ||||
| -rwxr-xr-x | testsuite/cli/outputs/firstaidkit_-a_-x_plugincli1 | 15 | ||||
| -rwxr-xr-x | testsuite/cli/outputs/firstaidkit_-a_fix | 19 | ||||
| -rwxr-xr-x | testsuite/cli/outputs/firstaidkit_-a_nonexistent | 11 | ||||
| -rwxr-xr-x | testsuite/cli/outputs/firstaidkit_-f_nonexistent | 8 | ||||
| -rwxr-xr-x | testsuite/cli/outputs/firstaidkit_-f_plugincli1 | 13 | ||||
| -rwxr-xr-x | testsuite/cli/outputs/firstaidkit_-f_plugincli1_fix | 15 | ||||
| -rwxr-xr-x | testsuite/cli/outputs/firstaidkit_-f_plugincli1_nonexistent | 10 |
8 files changed, 0 insertions, 108 deletions
diff --git a/testsuite/cli/outputs/firstaidkit_-a b/testsuite/cli/outputs/firstaidkit_-a deleted file mode 100755 index 269ba93..0000000 --- a/testsuite/cli/outputs/firstaidkit_-a +++ /dev/null @@ -1,17 +0,0 @@ -Backup system initialized -Starting the Threads -Do the work! -INFO: You are not running the firstaidkit as root. Some plugins may not be available. (Task interpreter) -INFO: Entering the init phase... (Plugincli2) -INFO: Entering the prepare phase... (Plugincli2) -INFO: Entering the diagnose phase... (Plugincli2) -INFO: Entering the clean phase... (Plugincli2) -INFO: Entering the init phase... (Plugincli1) -INFO: Entering the prepare phase... (Plugincli1) -INFO: Entering the diagnose phase... (Plugincli1) -INFO: Entering the clean phase... (Plugincli1) ---- Info section --- --------------------- -Waiting for the Threads -Backup closed -Done. diff --git a/testsuite/cli/outputs/firstaidkit_-a_-x_plugincli1 b/testsuite/cli/outputs/firstaidkit_-a_-x_plugincli1 deleted file mode 100755 index 1f7a8f3..0000000 --- a/testsuite/cli/outputs/firstaidkit_-a_-x_plugincli1 +++ /dev/null @@ -1,15 +0,0 @@ -Excluding plugin plugincli1 - -Backup system initialized -Starting the Threads -Do the work! -INFO: You are not running the firstaidkit as root. Some plugins may not be available. (Task interpreter) -INFO: Entering the init phase... (Plugincli2) -INFO: Entering the prepare phase... (Plugincli2) -INFO: Entering the diagnose phase... (Plugincli2) -INFO: Entering the clean phase... (Plugincli2) ---- Info section --- --------------------- -Waiting for the Threads -Backup closed -Done. diff --git a/testsuite/cli/outputs/firstaidkit_-a_fix b/testsuite/cli/outputs/firstaidkit_-a_fix deleted file mode 100755 index 9bb6e81..0000000 --- a/testsuite/cli/outputs/firstaidkit_-a_fix +++ /dev/null @@ -1,19 +0,0 @@ -Backup system initialized -Starting the Threads -Do the work! -INFO: You are not running the firstaidkit as root. Some plugins may not be available. (Task interpreter) -INFO: Entering the init phase... (Plugincli1) -INFO: Entering the prepare phase... (Plugincli1) -INFO: Entering the diagnose phase... (Plugincli1) -INFO: Entering the backup phase... (Plugincli1) -INFO: Entering the fix phase... (Plugincli1) -INFO: Entering the clean phase... (Plugincli1) -INFO: Entering the init phase... (Plugincli2) -INFO: Entering the prepare phase... (Plugincli2) -INFO: Entering the diagnose phase... (Plugincli2) -INFO: Entering the clean phase... (Plugincli2) ---- Info section --- --------------------- -Waiting for the Threads -Backup closed -Done. diff --git a/testsuite/cli/outputs/firstaidkit_-a_nonexistent b/testsuite/cli/outputs/firstaidkit_-a_nonexistent deleted file mode 100755 index 392b189..0000000 --- a/testsuite/cli/outputs/firstaidkit_-a_nonexistent +++ /dev/null @@ -1,11 +0,0 @@ -Backup system initialized -Starting the Threads -Do the work! -INFO: You are not running the firstaidkit as root. Some plugins may not be available. (Task interpreter) -INFO: Plugin plugincli2 does not contain flow nonexistent (Task interpreter) -INFO: Plugin plugincli1 does not contain flow nonexistent (Task interpreter) ---- Info section --- --------------------- -Waiting for the Threads -Backup closed -Done. diff --git a/testsuite/cli/outputs/firstaidkit_-f_nonexistent b/testsuite/cli/outputs/firstaidkit_-f_nonexistent deleted file mode 100755 index 6f1915e..0000000 --- a/testsuite/cli/outputs/firstaidkit_-f_nonexistent +++ /dev/null @@ -1,8 +0,0 @@ -Backup system initialized -Starting the Threads -Do the work! -INFO: You are not running the firstaidkit as root. Some plugins may not be available. (Task interpreter) -FAK_ERROR: No plugin by the name of "nonexistent" was found. -Waiting for the Threads -Done. -Backup closed diff --git a/testsuite/cli/outputs/firstaidkit_-f_plugincli1 b/testsuite/cli/outputs/firstaidkit_-f_plugincli1 deleted file mode 100755 index 4d6d507..0000000 --- a/testsuite/cli/outputs/firstaidkit_-f_plugincli1 +++ /dev/null @@ -1,13 +0,0 @@ -Backup system initialized -Starting the Threads -Do the work! -INFO: You are not running the firstaidkit as root. Some plugins may not be available. (Task interpreter) -INFO: Entering the init phase... (Plugincli1) -INFO: Entering the prepare phase... (Plugincli1) -INFO: Entering the diagnose phase... (Plugincli1) -INFO: Entering the clean phase... (Plugincli1) ---- Info section --- --------------------- -Waiting for the Threads -Backup closed -Done. diff --git a/testsuite/cli/outputs/firstaidkit_-f_plugincli1_fix b/testsuite/cli/outputs/firstaidkit_-f_plugincli1_fix deleted file mode 100755 index 2acd0ee..0000000 --- a/testsuite/cli/outputs/firstaidkit_-f_plugincli1_fix +++ /dev/null @@ -1,15 +0,0 @@ -Backup system initialized -Starting the Threads -Do the work! -INFO: You are not running the firstaidkit as root. Some plugins may not be available. (Task interpreter) -INFO: Entering the init phase... (Plugincli1) -INFO: Entering the prepare phase... (Plugincli1) -INFO: Entering the diagnose phase... (Plugincli1) -INFO: Entering the backup phase... (Plugincli1) -INFO: Entering the fix phase... (Plugincli1) -INFO: Entering the clean phase... (Plugincli1) ---- Info section --- --------------------- -Waiting for the Threads -Backup closed -Done. diff --git a/testsuite/cli/outputs/firstaidkit_-f_plugincli1_nonexistent b/testsuite/cli/outputs/firstaidkit_-f_plugincli1_nonexistent deleted file mode 100755 index ae8b0dd..0000000 --- a/testsuite/cli/outputs/firstaidkit_-f_plugincli1_nonexistent +++ /dev/null @@ -1,10 +0,0 @@ -Backup system initialized -Starting the Threads -Do the work! -INFO: You are not running the firstaidkit as root. Some plugins may not be available. (Task interpreter) -INFO: Plugin plugincli1 does not contain flow nonexistent (Task interpreter) ---- Info section --- --------------------- -Waiting for the Threads -Backup closed -Done. |
