MXS-1662: Test PAM admin authentication

The test checks that the vagrant user has access to the REST API.
This commit is contained in:
Markus Mäkelä
2019-04-16 20:31:41 +03:00
parent 067660e3e7
commit 11814762b5
3 changed files with 21 additions and 0 deletions

View File

@ -0,0 +1,15 @@
/**
* MXS-1662: PAM authenticator for admin users
*/
#include "testconnections.h"
int main(int argc, char** argv)
{
TestConnections test(argc, argv);
// TODO: Store login information
test.check_maxctrl("-u vagrant -p vagrant show maxscale");
return test.global_result;
}