]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
qa/workunits/rados/test-upgrade-to-mimic.sh: fix tee output 21506/head
authorSage Weil <sage@redhat.com>
Wed, 18 Apr 2018 19:35:49 +0000 (14:35 -0500)
committerSage Weil <sage@redhat.com>
Wed, 18 Apr 2018 19:35:49 +0000 (14:35 -0500)
Signed-off-by: Sage Weil <sage@redhat.com>
qa/workunits/rados/test-upgrade-to-mimic.sh

index 461e438ba759792d39eab67d5e039671a0e60fdf..ad18c50a424f62c5d9b265748817041adcdce089 100755 (executable)
@@ -26,7 +26,8 @@ for f in \
 do
     if [ $parallel -eq 1 ]; then
        r=`printf '%25s' $f`
-       bash -o pipefail -exc "ceph_test_rados_$f $color 2>&1 | tee ceph_test_rados_$f.log | sed \"s/^/$r: /\"" &
+       ff=`echo $f | awk '{print $1}'`
+       bash -o pipefail -exc "ceph_test_rados_$f $color 2>&1 | tee ceph_test_rados_$ff.log | sed \"s/^/$r: /\"" &
        pid=$!
        echo "test $f on pid $pid"
        pids[$f]=$pid