aboutsummaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorRuss Allbery <rra@stanford.edu>2009-06-09 16:37:52 -0700
committerRuss Allbery <rra@stanford.edu>2009-06-09 16:37:52 -0700
commite455057f2fe19dd27ee1b03083454eceb07d3043 (patch)
tree7721951db68f3595ba1ac13e208281dcb39c8a32 /tests
parente32837ee826e4be5e8dfbefc7d87fedc0e5de8cf (diff)
Update tests to reflect suppression of store data in logging
Diffstat (limited to 'tests')
-rw-r--r--tests/server/backend-t.in9
1 files changed, 7 insertions, 2 deletions
diff --git a/tests/server/backend-t.in b/tests/server/backend-t.in
index 773a002..0c6ac60 100644
--- a/tests/server/backend-t.in
+++ b/tests/server/backend-t.in
@@ -3,7 +3,8 @@
# Tests for the wallet-backend dispatch code.
#
# Written by Russ Allbery <rra@stanford.edu>
-# Copyright 2006, 2007, 2008 Board of Trustees, Leland Stanford Jr. University
+# Copyright 2006, 2007, 2008, 2009
+# Board of Trustees, Leland Stanford Jr. University
#
# See LICENSE for licensing terms.
@@ -338,7 +339,11 @@ for my $command (qw/autocreate create destroy setacl setattr store/) {
is ($out, "$new\n$method type name$extra\n",
' and ran the right method');
($out, $err) = run_backend ($command, 'error', 'name', @extra);
- $ran = "$command error name" . (@extra ? " @extra" : '');
+ if ($command eq 'store') {
+ $ran = "$command error name";
+ } else {
+ $ran = "$command error name" . (@extra ? " @extra" : '');
+ }
is ($err, "error count $error\n", "Command $command ran with errors");
is ($OUTPUT, "command $ran from admin (1.2.3.4) failed: error count"
. " $error\n", ' and syslog correct');