diff options
| author | Daniel Vetter <daniel.vetter@ffwll.ch> | 2015-12-01 08:44:00 +0100 |
|---|---|---|
| committer | Daniel Vetter <daniel.vetter@ffwll.ch> | 2015-12-01 17:44:32 +0100 |
| commit | 8133295d02730dfc800d974e673dcb4b07460911 (patch) | |
| tree | 1f3707adb1340896ad0aa34f1c586f713e6118b8 | |
| parent | 92e83cb379cd36c72ce1a254a1b80320b21a3ae1 (diff) | |
tests: add core_setmaster_vs_auth
Tests that master state isn't leaked to new masters by checking
that auth magics for the old master don't work any more.
Based upon a simple test program provided by Thomas.
v2: Use comment Thomas suggested on intel-gfx.
Cc: Thomas Hellstrom <thellstrom@vmware.com>
Signed-off-by: Daniel Vetter <daniel.vetter@intel.com>
| -rw-r--r-- | tests/.gitignore | 1 | ||||
| -rw-r--r-- | tests/Makefile.sources | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/tests/.gitignore b/tests/.gitignore index 6291c04a..ba1becd1 100644 --- a/tests/.gitignore +++ b/tests/.gitignore @@ -5,6 +5,7 @@ core_getclient core_getstats core_getversion core_prop_blob +core_setmaster_vs_auth drm_import_export drm_read drm_vma_limiter diff --git a/tests/Makefile.sources b/tests/Makefile.sources index ac3994da..cfcffe73 100644 --- a/tests/Makefile.sources +++ b/tests/Makefile.sources @@ -103,6 +103,7 @@ TESTS_progs = \ core_getstats \ core_getversion \ core_prop_blob \ + core_setmaster_vs_auth \ drm_import_export \ drm_read \ drm_vma_limiter \ |
