summaryrefslogtreecommitdiffstats
path: root/testsuite/cli
diff options
context:
space:
mode:
authorJoel Andres Granados <jgranado@redhat.com>2008-11-19 21:15:10 +0100
committerJoel Andres Granados <jgranado@redhat.com>2008-11-20 13:46:22 +0100
commitc5d0300ce1f2cb221e1102db8d77251f68d0c3d0 (patch)
tree4a654278d54f1a58b4d460184673d5e110b5fbf6 /testsuite/cli
parentb8d360b0142961972e4d7bfa67841542554725a3 (diff)
downloadfirstaidkit-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-xtestsuite/cli/outputs/firstaidkit_-a17
-rwxr-xr-xtestsuite/cli/outputs/firstaidkit_-a_-x_plugincli115
-rwxr-xr-xtestsuite/cli/outputs/firstaidkit_-a_fix19
-rwxr-xr-xtestsuite/cli/outputs/firstaidkit_-a_nonexistent11
-rwxr-xr-xtestsuite/cli/outputs/firstaidkit_-f_nonexistent8
-rwxr-xr-xtestsuite/cli/outputs/firstaidkit_-f_plugincli113
-rwxr-xr-xtestsuite/cli/outputs/firstaidkit_-f_plugincli1_fix15
-rwxr-xr-xtestsuite/cli/outputs/firstaidkit_-f_plugincli1_nonexistent10
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.