* api.2/init-v2.exp: make test100 only run on client
authorBarry Jaspan <bjaspan@mit.edu>
Wed, 11 Sep 1996 21:04:14 +0000 (21:04 +0000)
committerBarry Jaspan <bjaspan@mit.edu>
Wed, 11 Sep 1996 21:04:14 +0000 (21:04 +0000)
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@9082 dc483132-0cff-0310-8789-dd5450dbe970

src/lib/kadm5/unit-test/ChangeLog
src/lib/kadm5/unit-test/api.2/init-v2.exp

index 1bd868a1eaf1df4b64e0d62c5102c3b601718dfb..d5eefcb4b740757f1942541d2dd9135158a4191d 100644 (file)
@@ -1,3 +1,7 @@
+Wed Sep 11 17:03:22 1996  Barry Jaspan  <bjaspan@mit.edu>
+
+       * api.2/init-v2.exp: make test100 only run on client
+
 Tue Aug 20 13:46:54 1996  Barry Jaspan  <bjaspan@mit.edu>
 
        * Makefile.ov (unit-test-server-body): remove kdb5_edit
index 5de25d6fe014a2c0a7bcb41d23188b187f9da3b7..61736b80ff1a245bffdca367a3a1cf116837a814 100644 (file)
@@ -7,14 +7,17 @@ test "init 100"
 proc test100 {} {
     global test
 
+    # We used to check for ENOENT, but kadm5_get_config_params no
+    # longer fails if it cannot find the file---it just provides
+    # defaults instead.... XXX will fail on srv test!
     one_line_fail_test {
        kadm5_init admin admin $KADM5_ADMIN_SERVICE \
                [config_params {KADM5_CONFIG_PROFILE} /does-not-exist] \
                $KADM5_STRUCT_VERSION $KADM5_API_VERSION_2 \
                server_handle
-    } "ENOENT"
+    } "BADFORMAT"
 }
-test100
+if {$RPC} test100
 
 test "init 101"
 proc test101 {} {