Split out //aos/common:queue_testutils and rename stuff

It had three independent pieces of functionality, one of which had a
pretty bad name.

Change-Id: I4a6937692fa36e74f814b3be4d4c5bc751947088
diff --git a/aos/testing/test_shm.h b/aos/testing/test_shm.h
new file mode 100644
index 0000000..dcb6906
--- /dev/null
+++ b/aos/testing/test_shm.h
@@ -0,0 +1,24 @@
+#ifndef AOS_TESTING_TEST_SHM_H_
+#define AOS_TESTING_TEST_SHM_H_
+
+#include "aos/linux_code/ipc_lib/shared_mem.h"
+
+namespace aos {
+namespace testing {
+
+// Manages creating and cleaning up "shared memory" which works within this
+// process and any that it fork(2)s.
+class TestSharedMemory {
+ public:
+  // Calls EnableTestLogging().
+  TestSharedMemory();
+  ~TestSharedMemory();
+
+ private:
+  struct aos_core global_core_data_;
+};
+
+}  // namespace testing
+}  // namespace aos
+
+#endif  // AOS_TESTING_TEST_SHM_H_