diff options
author | Kaushal M <kaushal@redhat.com> | 2014-01-13 12:42:31 +0530 |
---|---|---|
committer | Vijay Bellur <vbellur@redhat.com> | 2014-01-14 22:27:09 -0800 |
commit | f139fc7e44da27670e90bd7ba55ff80e7c8b8ecd (patch) | |
tree | 609898c55cc787366a231bddadaabc60dc0451fb /tests | |
parent | 2f499e85a4ae0ac1e84785daa60a5bbfe979cc7f (diff) |
cli: Don't override cli mode when stdin in not a tty
Change-Id: I801c6e6ecd6c5a91e487e8e54ec5f684d450a080
BUG: 1047378
Signed-off-by: Kaushal M <kaushal@redhat.com>
Reviewed-on: http://review.gluster.org/6687
Tested-by: Gluster Build System <jenkins@build.gluster.com>
Reviewed-by: Vijay Bellur <vbellur@redhat.com>
Diffstat (limited to 'tests')
-rw-r--r-- | tests/bugs/bug-1047378.t | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/tests/bugs/bug-1047378.t b/tests/bugs/bug-1047378.t new file mode 100644 index 000000000..b441ee9b1 --- /dev/null +++ b/tests/bugs/bug-1047378.t @@ -0,0 +1,12 @@ +#!/bin/bash + +. $(dirname $0)/../include.rc + +cleanup; + +TEST glusterd +TEST pidof glusterd + +TEST "echo volume list | $CLI --xml | xmllint --format -" + +cleanup |