No scratch directory in qemu-iotests
Hello
When I want to use qemu-iotests, some error occurred:
$ git clone git:// git.kernel.org/pub/scm/linux/kernel/git/hch/qemu-iotests.git
$ cd qemu-iotests
$ ./check -h common.config: Error: $TEST_DIR (/home/mitnick/Desktop/GSoC2011/QEMU/qemu-iotests/scratch) is not a directory
There is no error when I create directory scratch. I am wondering whether scratch
should be add into qemu-iotests master tree??
Thanks
Mitnick
Quoted 9 lines · Lyu Mitnick
Hello
When I want to use qemu-iotests, some error occurred:
$ git clone git:// git.kernel.org/pub/scm/linux/kernel/git/hch/qemu-iotests.git$ cd qemu-iotests
Quoted 8 lines
$ ./check -h common.config: Error: $TEST_DIR (/home/mitnick/Desktop/GSoC2011/QEMU/qemu-iotests/scratch) is not a directoryThere is no error when I create directory scratch. I am wondering whether scratch
should be add into qemu-iotests master tree??
I think it's a good idea to make qemu-iotests work out-of-the-box. Can you send a patch for this?
Note that scratch/ is in .gitignore so you might have to tweak .gitignore to get the behavior you want. Alternatively common.config could mkdir scratch/ on first run.
Stefan
Quoted 6 lines · Stefan Hajnoczi
I think it's a good idea to make qemu-iotests work out-of-the-box. Can you send a patch for this?
Note that scratch/ is in .gitignore so you might have to tweak .gitignore to get the behavior you want. Alternatively common.config could mkdir scratch/ on first run.
Hmm. The original idea was you make it a symlink to a partitions so that you don't have to nessecarily run it inside the source tree. But I suspect just include the directory and allowing an override is fine, too.