]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
qa/workunits/test_cephadm: Also test stdin 41280/head
authorSebastian Wagner <sewagner@redhat.com>
Tue, 11 May 2021 10:13:27 +0000 (12:13 +0200)
committerSebastian Wagner <sewagner@redhat.com>
Tue, 11 May 2021 10:13:55 +0000 (12:13 +0200)
Just to be sure

Signed-off-by: Sebastian Wagner <sewagner@redhat.com>
qa/workunits/cephadm/test_cephadm.sh

index e2ef71d5250afa4dfe0113a41dd652c94be09722..a514e0b25d5e76e010572f080369505fc4221996 100755 (executable)
@@ -161,6 +161,9 @@ systemctl status docker > /dev/null && ( $CEPHADM --docker version | grep 'ceph
 $CEPHADM shell --fsid $FSID -- ceph -v | grep 'ceph version'
 $CEPHADM shell --fsid $FSID -e FOO=BAR -- printenv | grep FOO=BAR
 
+# test stdin
+echo foo | $CEPHADM shell -- cat | grep -q foo
+
 ## bootstrap
 ORIG_CONFIG=`mktemp -p $TMPDIR`
 CONFIG=`mktemp -p $TMPDIR`