diff options
author | Petri Latvala <petri.latvala@intel.com> | 2017-09-21 15:52:27 +0300 |
---|---|---|
committer | Petri Latvala <petri.latvala@intel.com> | 2017-09-25 12:17:55 +0300 |
commit | 51d800ffb7dcb84a2c74bd92aac854435c591c30 (patch) | |
tree | 046beef82efdb79c0218cab878dd68d1c8e16093 /lib/igt_primes.c | |
parent | 7f97a4aea42e6037c65a12a7832748c0faf17ab7 (diff) |
tools_test: Clean up and fix sysfs_l3_parity
Multiple misunderstandings of the expectations of the test and some
missed parts of the shell-to-c conversion caused a couple of issues to
remain.
First, we need to actually disable a subbank before we check that a
subbank is disabled (invoke the tool with -d).
Second, the original pipe to wc -l was to check that the tool prints
only one line, not that it prints "at least" a line. Modify the last
check to verify that an "is disabled" text is _not_ printed.
v2: Add a TODO comment
Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=101650
Signed-off-by: Petri Latvala <petri.latvala@intel.com>
Reviewed-by: Abdiel Janulgue <abdiel.janulgue@linux.intel.com>
Diffstat (limited to 'lib/igt_primes.c')
0 files changed, 0 insertions, 0 deletions