blob: 162cf721fa0d7e91d3a163951f088f9bbc03a3a6 [file] [log] [blame]
// Copyright 2021 The Fuchsia Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include <gtest/gtest.h>
#include <sdk/lib/device-watcher/cpp/device-watcher.h>
TEST(SimpleDriverTestRealmTest, DriversExist) {
fbl::unique_fd out;
ASSERT_EQ(ZX_OK,
device_watcher::RecursiveWaitForFile("/dev/sys/test/fidl_bindlib_generation", &out));
ASSERT_EQ(ZX_OK, device_watcher::RecursiveWaitForFile(
"/dev/sys/test/fidl_bindlib_generation/child", &out));
}