浏览代码

test scripts: Fix for new directly executable GW program.

Keir Fraser 4 年之前
父节点
当前提交
3f6fd1c8f2
共有 2 个文件被更改,包括 8 次插入8 次删除
  1. 2 2
      scripts/misc/hw_test.sh
  2. 6 6
      scripts/misc/sw_test.sh

+ 2 - 2
scripts/misc/hw_test.sh

@@ -6,8 +6,8 @@
 dd if=/dev/urandom of=a.adf bs=512 count=1760
 disk-analyse -e 2 a.adf b.adf
 disk-analyse a.adf a.scp
-python3 gw.py write --ecyl=2 a.scp
-python3 gw.py read --revs=1 --ecyl=2 b.scp
+./gw write --ecyl=2 a.scp
+./gw read --revs=1 --ecyl=2 b.scp
 disk-analyse -e 2 b.scp c.adf
 diff b.adf c.adf
 md5sum b.adf c.adf

+ 6 - 6
scripts/misc/sw_test.sh

@@ -7,8 +7,8 @@
 dd if=/dev/urandom of=a.adf bs=512 count=1760
 disk-analyse -e 2 a.adf b.adf
 disk-analyse a.adf a.scp
-python3 gw.py write --ecyl=2 a.scp
-python3 gw.py read --revs=1 --ecyl=2 b.scp
+./gw write --ecyl=2 a.scp
+./gw read --revs=1 --ecyl=2 b.scp
 disk-analyse -e 2 b.scp c.adf
 diff b.adf c.adf
 md5sum b.adf c.adf
@@ -18,8 +18,8 @@ rm -f a.adf b.adf c.adf a.scp b.scp
 dd if=/dev/urandom of=a.adf bs=512 count=1760
 disk-analyse -e 2 a.adf b.adf
 disk-analyse a.adf a.ipf
-python3 gw.py write --ecyl=2 a.ipf
-python3 gw.py read --revs=1 --ecyl=2 b.hfe
+./gw write --ecyl=2 a.ipf
+./gw read --revs=1 --ecyl=2 b.hfe
 disk-analyse -e 2 b.hfe c.adf
 diff b.adf c.adf
 md5sum b.adf c.adf
@@ -29,8 +29,8 @@ rm -f a.adf b.adf c.adf a.ipf b.hfe
 dd if=/dev/urandom of=a.adf bs=512 count=1760
 disk-analyse -e 2 a.adf b.adf
 disk-analyse a.adf a.hfe
-python3 gw.py write --ecyl=2 a.hfe
-python3 gw.py read --revs=1 --ecyl=2 b.hfe
+./gw write --ecyl=2 a.hfe
+./gw read --revs=1 --ecyl=2 b.hfe
 disk-analyse -e 2 b.hfe c.adf
 diff b.adf c.adf
 md5sum b.adf c.adf