From dc04356bb5d99378c2d2d5f12e66419a77e22bcf Mon Sep 17 00:00:00 2001 From: John Hodge Date: Sun, 5 Jan 2014 18:32:04 +0800 Subject: [PATCH] Tools/DiskTool - Add test script --- Tools/DiskTool/testscript | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 Tools/DiskTool/testscript diff --git a/Tools/DiskTool/testscript b/Tools/DiskTool/testscript new file mode 100644 index 00000000..29d59e7d --- /dev/null +++ b/Tools/DiskTool/testscript @@ -0,0 +1,9 @@ +lvm Tools/Systest/DiskTool/HDD0.img hdd0 +mount :hdd0/0 hdd0-0 +cp Tools/Systest/DiskTool/testfile1 hdd0-0:testfile1 +cp hdd0-0:testfile1 Tools/Systest/DiskTool/testfile1.out + +mount Tools/Systest/DiskTool/FDD.img fdd +mkdir fdd:testdir1 +cp Tools/Systest/DiskTool/testfile2 fdd:testdir1/testfile2 +cp fdd:testdir1/testfile2 Tools/Systest/DiskTool/testfile2.out -- 2.20.1