fixup! Use a bash associative array to speedup task tests

The parsing of test roots by name was previously outputting an extra
space at the beginning of root names leading to the test json for almost
all tests being blank. This blanking of the test json meant that the
expected test json would always match the outputted test json (both were
incorrectly blank) resulting is most tests always passing, even if they
were broken. Fix this by removing the extra space so that root names are
now correct.

Change-Id: Ideb43ed41d6c6913ede4ad591291c7c93d30d471
diff --git a/test/check_task_statuses.sh b/test/check_task_statuses.sh
index ace3680..02f503a 100755
--- a/test/check_task_statuses.sh
+++ b/test/check_task_statuses.sh
@@ -228,7 +228,7 @@
         roots=json.loads(sys.stdin.read())['plugins'][0]['roots']
         for root in roots:
             root_json = json.dumps(root, indent=3, separators=(',', ' : '), sort_keys=True)
-            print root['name'] + '\x00' + root_json + '\x00',"
+            sys.stdout.write(root['name'] + '\x00' + root_json + '\x00')"
     )
 
     local def=$(declare -p jsonByRoot)