Message ID | 20200401225526.1105288-3-amitay@ozlabs.org |
---|---|
State | Accepted |
Headers | show |
Series | Add api for attribute get/set | expand |
Context | Check | Description |
---|---|---|
snowpatch_ozlabs/apply_patch | warning | Failed to apply on branch master (8b4611b5d8e7e2279fe4aa80c892fcfe10aa398d) |
snowpatch_ozlabs/apply_patch | fail | Failed to apply to any branch |
diff --git a/tests/test_prop.sh b/tests/test_prop.sh index e2e511f..5511a75 100755 --- a/tests/test_prop.sh +++ b/tests/test_prop.sh @@ -36,7 +36,10 @@ test_run libpdbg_prop_test /proc0/pib write ATTR1 int 0xdeadbeef test_result 99 -- test_run libpdbg_prop_test /proc0/pib write ATTR2 char PROCESSOR0 -export PDBG_DTB=fake.dtb +cp fake.dtb fake-prop.dtb +test_cleanup rm -f fake-prop.dtb + +export PDBG_DTB=fake-prop.dtb test_result 0 -- test_run libpdbg_prop_test /proc1/pib write ATTR1 int 0xdeadbeef
Signed-off-by: Amitay Isaacs <amitay@ozlabs.org> --- tests/test_prop.sh | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-)