From c17ddef341a68239aa26c6da938410d894b60c7f Mon Sep 17 00:00:00 2001 From: Russ Allbery Date: Wed, 29 Aug 2007 21:00:42 +0000 Subject: 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. --- tests/data/cmd-fake | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'tests/data') 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 -- cgit v1.2.3