]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
test: dump_osd_store: sort dump output
authorColin Patrick McCabe <cmccabe@alumni.cmu.edu>
Tue, 23 Nov 2010 18:55:59 +0000 (10:55 -0800)
committerColin Patrick McCabe <cmccabe@alumni.cmu.edu>
Tue, 30 Nov 2010 23:43:44 +0000 (15:43 -0800)
Signed-off-by: Colin McCabe <colinm@hq.newdream.net>
src/test/test_common.sh

index 143140999d83aa50ccbe0d272df7931f0d3f87c7..0c437dc9e02643dc02e3026fed7d97660a49abe0 100755 (executable)
@@ -119,7 +119,7 @@ poll_cmd() {
 dump_osd_store() {
         set +x
         echo "dumping osd store..."
-        find ./dev/osd* -type f | grep obj | grep head$ | while read file; do
+        find ./dev/osd* -type f | grep obj | grep head$ | sort | while read file; do
                 echo $file
                 head -c 10 $file
                 echo