[Buildroot] [PATCH/next 2/3] support/testing; add prosody test

Ricardo Martincoski ricardo.martincoski at gmail.com
Tue Nov 27 02:42:55 UTC 2018


On Sat, Nov 24, 2018 at 07:07 AM, Francois Perrad wrote:

> +    def prosody_test(self):
> +        # prosody was launched as service
> +        cmd = "prosodyctl status"
> +        output, exit_code = self.emulator.run(cmd)
> +        self.assertEqual(exit_code, 0)
> +        self.assertIn("Prosody is running", output[0])

I get an error message before the expected string:

# prosodyctl status
certmanager         error       SSL/TLS: Error initialising for client_https port 0: unknown elliptic curve in "X25519:P-384:P-256:P-521"
Prosody is running with PID 727


I don't know if this message is expected in this minimal config or not.
If it is expected, we could add a comment and run something like this:
        self.assertIn("Prosody is running", output[1])

Any ideas?


More information about the buildroot mailing list