diff options
author | Jeff Darcy <jdarcy@redhat.com> | 2016-10-27 08:28:14 -0400 |
---|---|---|
committer | Pranith Kumar Karampuri <pkarampu@redhat.com> | 2016-10-28 03:30:57 -0700 |
commit | ad9957af5ce8d351bebe494ba4fa474fac972c6b (patch) | |
tree | a431ec30952e8fb78bf61006148a1a60dfe86f82 /glusterfs.spec.in | |
parent | 29587a91716e1e55bd172d63340c40249fb343c9 (diff) |
tests: fix cleanup in bug-1110262.t
The test wasn't cleaning up the user/group it had created if it
terminated abnormally. We have a mechanism (push_trapfunc) to add
cleanup actions in a way that ensures they'll be run when necessary, so
I changed the test to use it. While I was there, I fixed it to use
kill_brick instead of "ps|grep|kill" because that will be necessary for
it to pass with brick multiplexing anyway.
Change-Id: Ia515bd2420050f922970d28c5856c55df9b5247b
Signed-off-by: Jeff Darcy <jdarcy@redhat.com>
Reviewed-on: http://review.gluster.org/15744
Smoke: Gluster Build System <jenkins@build.gluster.org>
NetBSD-regression: NetBSD Build System <jenkins@build.gluster.org>
Reviewed-by: Raghavendra Talur <rtalur@redhat.com>
CentOS-regression: Gluster Build System <jenkins@build.gluster.org>
Diffstat (limited to 'glusterfs.spec.in')
0 files changed, 0 insertions, 0 deletions