Announcement

Collapse
No announcement yet.

Multiple values from menu to the test

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Multiple values from menu to the test

    Hi Im trying to modify fio test so that I can add fio parameter rwmixread=int, but i want to pass that parameter with main test type.

    I copied from pts/fio to local/fio-test - created my own local test and edited test-definition.xml

    So I was wondering if I can pass multiple values from the menu like so:

    ...
    <Menu>
    <Entry>
    <Name>Random Read</Name>
    <Value>randread</Value>
    <Value>75</Value>
    <Message></Message>
    </Entry>
    ...


    But im stuck with editing install.sh

    ...
    echo "[global]
    rw=\$1
    rwmixread=\$1
    ioengine=\$2
    iodepth=64
    size=1g
    ...

    What is the proper way to add new parameter rwmixread=\$1 or rwmixread=\$2 or is this even possible?

    Thanks

  • #2
    You would need to either do <Value>7randread 75</Value> (since it's being parsed out anyway in that case as arguments passed to the test script) or have a separate option, but you can't have multiple Value tags per prompt.
    Michael Larabel
    https://www.michaellarabel.com/

    Comment


    • #3
      Great thanks, the <Value>randread 75</Value> did the trick

      Comment

      Working...
      X