diff options
| author | Jackie Huang <jackie.huang@windriver.com> | 2016-11-19 10:11:00 +0800 | 
|---|---|---|
| committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2017-04-19 10:18:43 +0100 | 
| commit | d31eead2af88a66734c212f5338b13e6573608ee (patch) | |
| tree | ab2f961bd0aea4014f90b49e9e497567abbc9e97 /scripts/lib/wic/utils | |
| parent | 99c6e89db193d572e845f95eabbd9ec89c3508c7 (diff) | |
| download | poky-d31eead2af88a66734c212f5338b13e6573608ee.tar.gz | |
ltp: fix an incorrect macro checking
The previous patch added a check but incorrectly
change the elif to if, then it always return 0
for cpuid if the machine is not __i386__
getcpu01    1  TFAIL  :  getcpu01.c:140: getcpu() returned wrong value expected cpuid:7, returned value cpuid: 0
After this fix:
getcpu01    1  TPASS  :  getcpu() returned proper cpuid:7, node id:0
(From OE-Core rev: ca798705b3b8fa9b2f6467970e9bda9d9433986c)
Signed-off-by: Jackie Huang <jackie.huang@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'scripts/lib/wic/utils')
0 files changed, 0 insertions, 0 deletions
