[Fuego] [PATCH] IOzone: remove single quotation

<[email protected]> Tue, 22 Jun 2021 01:23:33 +0000
Newsgroups dev.linux.lists.fuego
Message-ID <TY2PR01MB2972B0575366A51347B0E6D4F3099@TY2PR01MB2972.jpnprd01.prod.outlook.com>
From 48bac4939a46eac4a5d31856a734c14fa19ef0fe Mon Sep 17 00:00:00 2001

From: Daichi Fukui <[email protected]>

Date: Mon, 21 Jun 2021 18:54:19 +0900

Subject: [PATCH] IOzone: remove single quotation



With single quotations in TESTS variables, the specified

tests (-i) are not passed correctly to the iozone command,

ending up with testing only write/re-writes in giving

a prepared specification defined in specs.json.

Thus we should remove the single quotations so that

we can correctly pass our specified tests.



Signed-off-by: Daichi Fukui <[email protected]>

---

tests/Benchmark.IOzone/spec.json | 10 +++++-----

1 file changed, 5 insertions(+), 5 deletions(-)



diff --git a/tests/Benchmark.IOzone/spec.json b/tests/Benchmark.IOzone/spec.json

index 05af9b8..e1fbc3b 100644

--- a/tests/Benchmark.IOzone/spec.json

+++ b/tests/Benchmark.IOzone/spec.json

@@ -6,31 +6,31 @@

             "MOUNT_BLOCKDEV":"$SATA_DEV",

             "MOUNT_POINT":"$SATA_MP",

             "FILE_SIZE":"2M",

-            "TESTS":"'-i 0 -i 1 -i 2 -i 6 -i 7 -i 8 -i 9'"

+            "TESTS":"-i 0 -i 1 -i 2 -i 6 -i 7 -i 8 -i 9"

         },

         "mmc": {

             "MOUNT_BLOCKDEV":"$MMC_DEV",

             "MOUNT_POINT":"$MMC_MP",

             "FILE_SIZE":"2M",

-            "TESTS":"'-i 0 -i 1 -i 2 -i 6 -i 7 -i 8 -i 9'"

+            "TESTS":"-i 0 -i 1 -i 2 -i 6 -i 7 -i 8 -i 9"

         },

         "usb": {

             "MOUNT_BLOCKDEV":"$USB_DEV",

             "MOUNT_POINT":"$USB_MP",

             "FILE_SIZE":"2M",

-            "TESTS":"'-i 0 -i 1 -i 2 -i 6 -i 7 -i 8 -i 9'"

+            "TESTS":"-i 0 -i 1 -i 2 -i 6 -i 7 -i 8 -i 9"

         },

         "nopread": {

             "MOUNT_BLOCKDEV":"ROOT",

             "MOUNT_POINT":"$BOARD_TESTDIR/work",

             "FILE_SIZE":"2M",

-            "TESTS":"'-i 0 -i 1 -i 2 -i 6 -i 7 -i 8'"

+            "TESTS":"-i 0 -i 1 -i 2 -i 6 -i 7 -i 8"

         },

         "default": {

             "MOUNT_BLOCKDEV":"ROOT",

             "MOUNT_POINT":"$BOARD_TESTDIR/work",

             "FILE_SIZE":"2M",

-            "TESTS":"'-i 0 -i 1 -i 2 -i 6 -i 7 -i 8 -i 9'"

+            "TESTS":"-i 0 -i 1 -i 2 -i 6 -i 7 -i 8 -i 9"

         }

     }

}

--

2.17.1