Re: [libvirt PATCH 02/29] cpu-gather: Create python wrapper for shell script

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 12/15/20 5:24 PM, Tim Wiederhake wrote:
This changes the invocation from
   ./cpu-gather.sh | ./cpu-parse.sh
to
   ./cpu-gather.py | ./cpu-parse.sh

Signed-off-by: Tim Wiederhake <twiederh@xxxxxxxxxx>
---
  tests/cputestdata/cpu-gather.py | 13 +++++++++++++
  tests/cputestdata/cpu-gather.sh |  5 +++++
  2 files changed, 18 insertions(+)
  create mode 100755 tests/cputestdata/cpu-gather.py


I think cpu-parse.sh which shows the example of invocation too should be updated as well:

diff --git i/tests/cputestdata/cpu-parse.sh w/tests/cputestdata/cpu-parse.sh
index 7501c57cba..2981e9193c 100755
--- i/tests/cputestdata/cpu-parse.sh
+++ w/tests/cputestdata/cpu-parse.sh
@@ -1,7 +1,7 @@
 #!/bin/bash

 # Usage:
-# ./cpu-gather.sh | ./cpu-parse.sh
+# ./cpu-gather.py | ./cpu-parse.sh

 data=`cat`


Michal




[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]

  Powered by Linux