On 07/24/2017 09:34 AM, Peter Maydell wrote: > On 24 July 2017 at 15:28, Eric Blake <ebl...@redhat.com> wrote: >> On 07/21/2017 04:34 AM, Stefan Hajnoczi wrote: >>> There is not much getting started documentation for qemu-iotests. This >>> patch explains how to create a new test and covers the overall testing >>> approach. >>> >>> +2. Create the test file >>> + >>> +Copy an existing test (one that most closely resembles what you wish to >>> test) >>> +to the new test number: >>> + >>> + cp 001 <test-number> >> >> And mark it executable (chmod a+x <test-number>) > > It should already be executable because the test file being > copied (001 in this case) is executable, shouldn't it?
Oh, I see what happened. Rather than dropping to shell 'cp', I copied via emacs' "ctrl-x ctrl-w" (write-file) and creating a new file name, and that does not preserve executable bit. -- Eric Blake, Principal Software Engineer Red Hat, Inc. +1-919-301-3266 Virtualization: qemu.org | libvirt.org
signature.asc
Description: OpenPGP digital signature