[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Powerguru-commit] [SCM] powerguru branch, master, updated. ccab3b99a9b1
From: |
Rob Savoye |
Subject: |
[Powerguru-commit] [SCM] powerguru branch, master, updated. ccab3b99a9b1a2aec91a40103ac5a5c85c2b3445 |
Date: |
Sun, 9 Dec 2018 19:09:51 -0500 (EST) |
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "powerguru".
The branch, master has been updated
via ccab3b99a9b1a2aec91a40103ac5a5c85c2b3445 (commit)
from d336cf29a785c338ad11bf960fa1116c07ccd050 (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
http://git.savannah.gnu.org/cgit/powerguru.git/commit/?id=ccab3b99a9b1a2aec91a40103ac5a5c85c2b3445
commit ccab3b99a9b1a2aec91a40103ac5a5c85c2b3445
Author: Rob Savoye <address@hidden>
Date: Sun Dec 9 17:09:48 2018 -0700
Improve HELO test
diff --git a/testsuite/libtests/cmd-test.cc b/testsuite/libtests/cmd-test.cc
index 9b44b30..0c86220 100644
--- a/testsuite/libtests/cmd-test.cc
+++ b/testsuite/libtests/cmd-test.cc
@@ -175,13 +175,14 @@ public:
}
str.erase();
// This top level node has two children
- if (node->childGet(0)->nameGet() == "hostname" &&
node->childGet(1)->nameGet() == "user") {
- runtest.pass("POLL command has children");
+ if (node->childGet(0)->nameGet() == "hostname"
+ && node->childGet(0)->valueGet() == "localhost"
+ && node->childGet(1)->valueGet() == "enduser"
+ && node->childGet(1)->nameGet() == "user") {
+ runtest.pass("HELO command has both children");
} else {
- runtest.fail("POLL command has children");
- }
-
-
+ runtest.fail("HELO command has both children");
+ }
};
~Test() {};
-----------------------------------------------------------------------
Summary of changes:
testsuite/libtests/cmd-test.cc | 13 +++++++------
1 file changed, 7 insertions(+), 6 deletions(-)
hooks/post-receive
--
powerguru
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Powerguru-commit] [SCM] powerguru branch, master, updated. ccab3b99a9b1a2aec91a40103ac5a5c85c2b3445,
Rob Savoye <=