]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
test/encoding/readable.sh: nicer output
authorSage Weil <sage.weil@dreamhost.com>
Fri, 3 Feb 2012 05:06:10 +0000 (21:06 -0800)
committerSage Weil <sage.weil@dreamhost.com>
Fri, 3 Feb 2012 05:06:42 +0000 (21:06 -0800)
Signed-off-by: Sage Weil <sage.weil@dreamhost.com>
src/test/encoding/readable.sh

index 06156f77ee6b8fc4bd857d79840d0ce2f5baa3bb..dd356dfac9c133cec67fe7d4482af4e1ddb35b80 100755 (executable)
@@ -17,8 +17,9 @@ do
     do
        if ./ceph-dencoder type $type 2>/dev/null; then
 #          echo "type $type";
+           echo "\t$vdir/$type"
            for f in `ls $vdir/$type`; do
-               echo "\t$vdir/$type/$f"
+#              echo "\t$vdir/$type/$f"
                if ! ./ceph-dencoder type $type import $vdir/$type/$f decode dump_json > $tmp1; then
                    echo "**** failed to decode $vdir/$type/$f ****"
                    failed=$(($failed + 1))
@@ -37,7 +38,7 @@ do
                numtests=$(($numtests + 1))
            done
        else
-            echo "skip $type"
+            echo "skipping unrecognized type $type"
        fi
     done
 done