Skip to content

Commit

Permalink
test/security: add test for simulated auth failure
Browse files Browse the repository at this point in the history
  • Loading branch information
garlick committed Mar 1, 2017
1 parent 6d86eca commit cc14c80
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions t/t0017-security.t
Original file line number Diff line number Diff line change
Expand Up @@ -10,4 +10,11 @@ test_expect_success 'verify fake munge encoding of messages' '
${FLUX_BUILD_DIR}/src/test/tmunge --fake
'

test_expect_success 'simulated local connector auth failure returns EPERM' '
flux comms info &&
flux debug --set 1 connector-local &&
test_must_fail flux comms info 2>authfail.out &&
grep -q "Operation not permitted" authfail.out
'

test_done

0 comments on commit cc14c80

Please sign in to comment.