[LTP] [PATCH v3 LTP] Skip the test if "htop" is used.
Petr Vorel
pvorel@suse.cz
Thu Aug 29 13:58:45 CEST 2019
Hi,
> Is the silly rename going to be changed by Clear Linux in future?
According to [2], they does not going to change it.
> If yes, we may keep cpuhotplug06.sh to detect the issue.
> If no, we may update cpuhotplug06.sh to use top2 if top is provided by htop.
I suggest to use proposed solution with extra tip:
if top -v | grep -q htop; then
tst_brkm TCONF "htop is used instead of top, skip the test (workaround: alias top='/path/to/real/top')"
fi
And leave user to solve it:
alias top='top2'
Kind regards,
Petr
More information about the ltp
mailing list