diff options
author | Petri Latvala <petri.latvala@intel.com> | 2017-02-06 15:54:02 +0200 |
---|---|---|
committer | Petri Latvala <petri.latvala@intel.com> | 2017-02-09 11:08:49 +0200 |
commit | 0174d22e83fbf264fbe3d582839ebc414b168b18 (patch) | |
tree | 23c8a369144ca8ca56dbd31073ac23dc5bfc37be /tests/drv_suspend.c | |
parent | 69926e3f6a9f439eaa48f0fe2abfff92df63f386 (diff) |
tests/drv_suspend: Skip */crc/* in debugfs-reader
Reading the CRC files in debugfs will never
terminate. drv_suspend/debugfs-reader will leave a cat process around
which blocks all other access to the device until manually killed if
CRC files are not omitted.
Signed-off-by: Petri Latvala <petri.latvala@intel.com>
Diffstat (limited to 'tests/drv_suspend.c')
-rw-r--r-- | tests/drv_suspend.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/drv_suspend.c b/tests/drv_suspend.c index 0a459e30..1d7cc1f8 100644 --- a/tests/drv_suspend.c +++ b/tests/drv_suspend.c @@ -111,7 +111,7 @@ test_debugfs_reader(bool hibernate) static char tmp[1024]; snprintf(tmp, sizeof(tmp) - 1, - "while true; do find %s/%i/ -type f | xargs cat > /dev/null 2>&1; done", + "while true; do find %s/%i/ -type f ! -path \"*/crc/*\" | xargs cat > /dev/null 2>&1; done", dfs_base, drm_get_card()); igt_assert(execl("/bin/sh", "sh", "-c", tmp, (char *) NULL) != -1); } |