fix sanity test
Resolves: bz2025375 Signed-off-by: Ping Fang <pifang@redhat.com>
This commit is contained in:
parent
1b87c67ee1
commit
c8bb44bdbd
@ -78,8 +78,8 @@ rlJournalStart
|
|||||||
rlLog "`uname -r`"
|
rlLog "`uname -r`"
|
||||||
|
|
||||||
NUMA_NODES=`lscpu -e=node | grep -v NODE | sort -u | wc -l`
|
NUMA_NODES=`lscpu -e=node | grep -v NODE | sort -u | wc -l`
|
||||||
CPU_FROM_NODE0=`lscpu -e=node,cpu | egrep '^0' | awk '{print $2}' | head -n 1`
|
CPU_FROM_NODE0=`lscpu -e=node,cpu | egrep '^[[:space:]]*0' | awk '{print $2}' | head -n 1`
|
||||||
CPU_FROM_NODE1=`lscpu -e=node,cpu | sed '1d' | egrep '^[^0]' | awk '{print $2}' | head -n 1`
|
CPU_FROM_NODE1=`lscpu -e=node,cpu | sed '1d' | egrep '^[[:space:]]*[1-9]+' | awk '{print $2}' | head -n 1`
|
||||||
rlPhaseEnd
|
rlPhaseEnd
|
||||||
|
|
||||||
rlPhaseStartTest "check machine"
|
rlPhaseStartTest "check machine"
|
||||||
|
Loading…
Reference in New Issue
Block a user