mirror of
https://github.com/znc/znc.git
synced 2026-07-06 09:51:25 +02:00
test: Don't wait for SSL question if built without SSL
And don't hardcode 6667 in preparation for #2022
This commit is contained in:
@@ -46,8 +46,10 @@ void WriteConfig(QString path) {
|
||||
p.ReadUntil("Set up a network?"); p.Write();
|
||||
p.ReadUntil("Name [libera]"); p.Write("test");
|
||||
p.ReadUntil("Server host (host only)"); p.Write("unix:" + path.toUtf8() + "/inttest.ircd");
|
||||
#if HAVE_LIBSSL
|
||||
p.ReadUntil("Server uses SSL?"); p.Write();
|
||||
p.ReadUntil("6667"); p.Write();
|
||||
#endif
|
||||
p.ReadUntil("Server port"); p.Write();
|
||||
p.ReadUntil("password"); p.Write();
|
||||
p.ReadUntil("channels"); p.Write();
|
||||
p.ReadUntil("Launch ZNC now?"); p.Write("no");
|
||||
|
||||
@@ -20,5 +20,6 @@
|
||||
#cmakedefine WANT_PYTHON 1
|
||||
#cmakedefine WANT_PERL 1
|
||||
#cmakedefine HAVE_I18N 1
|
||||
#cmakedefine HAVE_LIBSSL 1
|
||||
|
||||
#endif /* ZNCTESTCONFIG_H */
|
||||
|
||||
Reference in New Issue
Block a user