Re: [PATCH v5 2/2] firmware/fw_load: add fw_load02 for custom firmware path
Cyril Hrubis <[email protected]>
| Newsgroups | gmane.linux.ltp |
|---|---|
| Message-ID | <[email protected]> |
Hi! > > I would say that it's cleaner to add the save_restore to the tst_test > > structure without the tmpdir value and use > > SAFE_FILE_PRINTF(FW_PATH, "%s", tmpdir) in the test setup. Since if the > > test crashes the test library will still restore the FW_PATH > > The problem here is that we have to use the tmpdir for the custom > folder, because on immutable distribution fw_path will be read-only. And I do ask to split the part where we ask the library to save and restore the value and the part where we set it so that we can have the save restore in the tst_test structure. -- Cyril Hrubis [email protected] -- Mailing list info: https://lists.linux.it/listinfo/ltp