diff options
author | Csaba Henk <csaba@redhat.com> | 2017-05-23 08:27:06 +0200 |
---|---|---|
committer | Amar Tumballi <amarts@redhat.com> | 2017-09-07 10:09:50 +0000 |
commit | b2902477414e5801f00a94b72cf0d0395297aa47 (patch) | |
tree | 5bbd32c18f6b81aec15f58123ceb631d53d4614f /cli/src | |
parent | 84f8fb81d73b87463092eb082a5cc6a4055103f4 (diff) |
libglusterfs: fix run.c demo mode
run.c can be compiled into a standalone object file
or a demo program with the appropriate defines for
development purposes. This functionality was broken.
We fix it and also clean it up:
- call it "demo mode" not "test mode" as tests should
come with verification of the results of the invocation
which is not being done
- add comments to the source explaining the feature
- provide more comprehensive output in the demo program
This change does not affect standard compilation and
usage of run.c functionality.
BUG: 1454590
Change-Id: I1ea618e3262bf6a4d9f79f6b59209438d5163244
Signed-off-by: Csaba Henk <csaba@redhat.com>
Reviewed-on: https://review.gluster.org/17363
Smoke: Gluster Build System <jenkins@build.gluster.org>
Tested-by: Amar Tumballi <amarts@redhat.com>
NetBSD-regression: NetBSD Build System <jenkins@build.gluster.org>
CentOS-regression: Gluster Build System <jenkins@build.gluster.org>
Reviewed-by: Amar Tumballi <amarts@redhat.com>
Diffstat (limited to 'cli/src')
0 files changed, 0 insertions, 0 deletions