diff options
| author | Russ Allbery <rra@stanford.edu> | 2007-08-29 21:00:42 +0000 | 
|---|---|---|
| committer | Russ Allbery <rra@stanford.edu> | 2007-08-29 21:00:42 +0000 | 
| commit | c17ddef341a68239aa26c6da938410d894b60c7f (patch) | |
| tree | 789899d1a00fd616b897223a8b10ea61f948ed59 /tests/data | |
| parent | 411c4731975fa902c34e7699da8f55bc5d4ef6ac (diff) | |
Fix the remctld flags for the latest version.  Fix the kinit invocation
for stock MIT Kerberos.  Add an additional test of the expires command,
which isn't special-cased in the wallet client.
Diffstat (limited to 'tests/data')
| -rwxr-xr-x | tests/data/cmd-fake | 8 | 
1 files changed, 8 insertions, 0 deletions
| diff --git a/tests/data/cmd-fake b/tests/data/cmd-fake index 4093320..83e3e0a 100755 --- a/tests/data/cmd-fake +++ b/tests/data/cmd-fake @@ -12,6 +12,10 @@ if [ "$1" != "keytab" ] ; then      exit 1  fi  shift +if [ -n "$2" ] ; then +    echo "Too many arguments" >&2 +    exit 1 +fi  case "$command" in  get) @@ -32,6 +36,10 @@ show)          exit 1      fi      ;; +expires) +    echo "Expiration date of $1" +    exit 0 +    ;;  *)      echo "Unknown command $command" >&2      exit 1 | 
