From f139fc7e44da27670e90bd7ba55ff80e7c8b8ecd Mon Sep 17 00:00:00 2001 From: Kaushal M Date: Mon, 13 Jan 2014 12:42:31 +0530 Subject: cli: Don't override cli mode when stdin in not a tty Change-Id: I801c6e6ecd6c5a91e487e8e54ec5f684d450a080 BUG: 1047378 Signed-off-by: Kaushal M Reviewed-on: http://review.gluster.org/6687 Tested-by: Gluster Build System Reviewed-by: Vijay Bellur --- tests/bugs/bug-1047378.t | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 tests/bugs/bug-1047378.t (limited to 'tests') 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 -- cgit