summaryrefslogtreecommitdiffstats
path: root/test/mbox.c
diff options
context:
space:
mode:
authorAndrew Jeffery <andrew@aj.id.au>2018-02-26 13:24:52 +1030
committerAndrew Jeffery <andrew@aj.id.au>2018-03-19 10:55:33 +1030
commitc3144042b9f050c3d880f4ae5464a2a21617fe7d (patch)
tree6567b6c7fee4aaebb5cfc939601daf43477ddad5 /test/mbox.c
parentbaea36d912053f0945ba529e5503a6c5471e802b (diff)
downloadphosphor-mboxd-c3144042b9f050c3d880f4ae5464a2a21617fe7d.tar.gz
phosphor-mboxd-c3144042b9f050c3d880f4ae5464a2a21617fe7d.zip
test: Update tmpf to store data in /tmp, reformat names
Cleans up residuals from failed tests in the source tree by moving them to /tmp. Some were annoying to remove with prefixes like 'mbox', so change the pattern as well to include '-store'. Change-Id: I674664a372e7e15ec4c3cd93d33318c4135f33ba Signed-off-by: Andrew Jeffery <andrew@aj.id.au>
Diffstat (limited to 'test/mbox.c')
-rw-r--r--test/mbox.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/test/mbox.c b/test/mbox.c
index dc049ce..6fe7277 100644
--- a/test/mbox.c
+++ b/test/mbox.c
@@ -216,13 +216,13 @@ struct mbox_context *mbox_create_test_context(int n_windows, size_t len)
atexit(cleanup);
- rc = tmpf_init(&test.mbox, "mboxXXXXXX");
+ rc = tmpf_init(&test.mbox, "mbox-store.XXXXXX");
assert(rc == 0);
- rc = tmpf_init(&test.flash, "flashXXXXXX");
+ rc = tmpf_init(&test.flash, "flash-store.XXXXXX");
assert(rc == 0);
- rc = tmpf_init(&test.lpc, "lpcXXXXXX");
+ rc = tmpf_init(&test.lpc, "lpc-store.XXXXXX");
assert(rc == 0);
test.context.windows.num = n_windows;
OpenPOWER on IntegriCloud