diff options
author | Greg Hudson <ghudson@mit.edu> | 2012-10-10 13:11:46 -0400 |
---|---|---|
committer | Greg Hudson <ghudson@mit.edu> | 2012-10-10 13:14:15 -0400 |
commit | fd243aa274c6ba315280703aac9bd653f76197c4 (patch) | |
tree | c23139c84010b91355b94830ce770d6e54b0acc4 /src/slave | |
parent | 3fe2761dbe83583c217a2e4663fadfe4eb3d3bfc (diff) | |
download | krb5-fd243aa274c6ba315280703aac9bd653f76197c4.zip krb5-fd243aa274c6ba315280703aac9bd653f76197c4.tar.gz krb5-fd243aa274c6ba315280703aac9bd653f76197c4.tar.bz2 |
Fix slow kprop dejagnu test
Fix kpropd -S -t to actually exit after processing one connection (it
was breaking out of the switch statement, not the while loop). Use
the -t when invoking kpropd from the dejagnu test framework;
previously it was unnecessary because kpropd -S -d exited after one
connection. Clear up some confusion in the kprop.exp comments about
whether kpropd is expected to exit.
Diffstat (limited to 'src/slave')
-rw-r--r-- | src/slave/kpropd.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/slave/kpropd.c b/src/slave/kpropd.c index 83af0f8..afa02f4 100644 --- a/src/slave/kpropd.c +++ b/src/slave/kpropd.c @@ -432,7 +432,7 @@ do_standalone() close(s); if (runonce) - break; + exit(0); } } exit(0); |