/mandos/trunk

To get this branch, use:
bzr branch http://bzr.recompile.se/loggerhead/mandos/trunk

« back to all changes in this revision

Viewing changes to plugins.d/password-prompt.c

  • Committer: Teddy Hogeborn
  • Date: 2019-03-04 18:52:48 UTC
  • Revision ID: teddy@recompile.se-20190304185248-1yrqw03l1s2skue4
mandos-ctl: Refactor tests

* mandos-ctl (TestCmd.client): New; contains one mock client.
  (TestPrintTableCmd.test_one_client): Use TestCmd.client.
  (TestDumpJSONCmd.test_one_client): - '' -
  (TestIsEnabledCmd.test_is_enabled_does_get_attribute): - '' -
  (TestIsEnabledCmd.test_is_enabled_run_exits_successfully): - '' -
  (TestIsEnabledCmd.test_is_enabled_run_exits_with_failure): - '' -
  (TestRemoveCmd.test_remove): - '' -

Show diffs side-by-side

added added

removed removed

Lines of Context:
2
2
/*
3
3
 * Password-prompt - Read a password from the terminal and print it
4
4
 * 
5
 
 * Copyright © 2008-2018 Teddy Hogeborn
6
 
 * Copyright © 2008-2018 Björn Påhlsson
 
5
 * Copyright © 2008-2019 Teddy Hogeborn
 
6
 * Copyright © 2008-2019 Björn Påhlsson
7
7
 * 
8
8
 * This file is part of Mandos.
9
9
 *