MXS-1662: Test PAM admin authentication
The test checks that the vagrant user has access to the REST API.
This commit is contained in:
15
maxscale-system-test/mxs1662_pam_admin.cpp
Normal file
15
maxscale-system-test/mxs1662_pam_admin.cpp
Normal 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;
|
||||
}
|
||||
Reference in New Issue
Block a user