def METHOD_NAME(self):
    if utils.platform() == "linux":
        proc = subprocess.call(
            "ldd %s | awk '{ print $1\" \"$3 }' | grep -Ev '^/lib64|^/lib| /lib|linux-vdso.so.1'"
            % (BUILD_DIR + "/osquery/osqueryd"),
            shell=True,
        )
    else:
        proc = subprocess.call(
            "otool -L %s | awk '{ if (NR > 1) print $1}' | grep -Ev '^/usr/lib|^/System/Library'"
            % (BUILD_DIR + "/osquery/osqueryd"),
            shell=True,
        )
    # Require all libraries to be system libraries.
    self.assertEqual(proc, 1)