Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1639909
| From | "Luis R. Rodriguez" <mcgrof@suse.com> |
|---|---|
| Newsgroups | linux.kernel |
| Subject | Re: [PATCH v6 3/5] test: add new driver_data load tester |
| Date | 2017-05-11 19:20 +0200 |
| Message-ID | <tFZUR-Oe-5@gated-at.bofh.it> (permalink) |
| References | <tqyWC-5f-17@gated-at.bofh.it> <tqyWC-5f-15@gated-at.bofh.it> <tuZlw-4vi-17@gated-at.bofh.it> <tB3cK-Dx-7@gated-at.bofh.it> <tFTPs-5db-3@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
On Thu, May 11, 2017 at 07:46:27PM +0900, AKASHI Takahiro wrote: > Luis, > > On Fri, Apr 28, 2017 at 03:45:35AM +0200, Luis R. Rodriguez wrote: > > > > +To test an async call one could do:: > > > > + > > > > + echo anything > /lib/firmware/test-driver_data.bin > > > > > > Your current shell script doesn't search for the firmware in > > > /lib/firmware unless you explicitly specify $FWPATH. > > > > This is true but that is the *test* shell script, and it purposely avoids the > > existing firmware path to avoid overriding dummy test files on the production > > path. So the above still stands as it is not using the test shell script > > driver_data.sh. > > > > I'll add a note: > > > > """ > > Note that driver_data.sh uses its own temporary custom path for creating and > > looking for driver data files, it does this to not overwrite any production > > files you might have which may share the same names used by the test shell > > script driver_data.sh. If you are not using the driver_data.sh script your > > default path will be used. > > """ > > That looks fine, but I think we'd better change the line: > > > > > + echo anything > /lib/firmware/test-driver_data.bin > > since it is just incorrect as far as driver_data.sh goes. But that is accurate, given the default file we search for on test_driver_data.c is test-driver_data.bin. It also does not create a conflict to overwrite a file used on driver_data.sh as driver_data.sh uses a custom path. I think the note above on custom path is sufficient for the developer or user to be aware of the fact the driver_data.sh does it own thing, and that the example is just a manual test case. What do you mean by that its incorrect ? Luis
Back to linux.kernel | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
Re: [PATCH v6 3/5] test: add new driver_data load tester "Luis R. Rodriguez" <mcgrof@kernel.org> - 2017-04-28 03:50 +0200
Re: [PATCH v6 3/5] test: add new driver_data load tester AKASHI Takahiro <takahiro.akashi@linaro.org> - 2017-05-11 12:50 +0200
Re: [PATCH v6 3/5] test: add new driver_data load tester "Luis R. Rodriguez" <mcgrof@suse.com> - 2017-05-11 19:20 +0200
Re: [PATCH v6 3/5] test: add new driver_data load tester "Li, Yi" <yi1.li@linux.intel.com> - 2017-05-18 00:50 +0200
Re: [PATCH v6 3/5] test: add new driver_data load tester "Luis R. Rodriguez" <mcgrof@kernel.org> - 2017-05-19 20:40 +0200
Re: [PATCH v6 3/5] test: add new driver_data load tester "Luis R. Rodriguez" <mcgrof@suse.com> - 2017-05-11 20:20 +0200
Re: [PATCH v6 3/5] test: add new driver_data load tester "Luis R. Rodriguez" <mcgrof@suse.com> - 2017-05-11 20:30 +0200
Re: [PATCH v6 3/5] test: add new driver_data load tester "Luis R. Rodriguez" <mcgrof@kernel.org> - 2017-05-11 20:50 +0200
Re: [PATCH v6 3/5] test: add new driver_data load tester AKASHI Takahiro <takahiro.akashi@linaro.org> - 2017-05-12 02:30 +0200
Re: [PATCH v6 3/5] test: add new driver_data load tester "Luis R. Rodriguez" <mcgrof@kernel.org> - 2017-05-12 18:00 +0200
Re: [PATCH v6 3/5] test: add new driver_data load tester AKASHI Takahiro <takahiro.akashi@linaro.org> - 2017-05-17 11:10 +0200
Re: [PATCH v6 3/5] test: add new driver_data load tester "Luis R. Rodriguez" <mcgrof@kernel.org> - 2017-05-17 17:40 +0200
Re: [PATCH v6 3/5] test: add new driver_data load tester AKASHI Takahiro <takahiro.akashi@linaro.org> - 2017-05-12 02:20 +0200
Re: [PATCH v6 3/5] test: add new driver_data load tester "Luis R. Rodriguez" <mcgrof@kernel.org> - 2017-05-12 18:00 +0200
Re: [PATCH v6 3/5] test: add new driver_data load tester "Luis R. Rodriguez" <mcgrof@kernel.org> - 2017-05-13 20:50 +0200
csiph-web