emacs-bug-tracker
[Top][All Lists]
Advanced

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

bug#60339: closed (tests/cp/proc-short-read.sh may fail due to architect


From: GNU bug Tracking System
Subject: bug#60339: closed (tests/cp/proc-short-read.sh may fail due to architecture / case sensitivity assumption)
Date: Mon, 26 Dec 2022 17:13:01 +0000

Your message dated Mon, 26 Dec 2022 09:12:48 -0800
with message-id <f3b9aa02-acce-75c8-690b-611cc8d3abb1@cs.ucla.edu>
and subject line Re: bug#60339: tests/cp/proc-short-read.sh may fail due to 
architecture / case sensitivity assumption
has caused the debbugs.gnu.org bug report #60339,
regarding tests/cp/proc-short-read.sh may fail due to architecture / case 
sensitivity assumption
to be marked as done.

(If you believe you have received this mail in error, please contact
help-debbugs@gnu.org.)


-- 
60339: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=60339
GNU Bug Tracking System
Contact help-debbugs@gnu.org with problems
--- Begin Message --- Subject: tests/cp/proc-short-read.sh may fail due to architecture / case sensitivity assumption Date: Mon, 26 Dec 2022 08:38:29 -0600 User-agent: Evolution 3.36.5-0ubuntu1
The test tests/cp/proc-short-read.sh attempts to remove common
differences in the output of /proc/cpuinfo:

    # adjust varying parts
    sed '/MHz/d; /bogomips/d;' 1 > proc.cp || framework_failure_
    sed '/MHz/d; /bogomips/d;' 2 > proc.cat || framework_failure_

However the string "bogomips" may differ in capitalization across
different architectures [1].

Testing on a big.LITTLE system uncovered this assumption.

    Linux DietPi 5.4.225-odroidxu4 #22.11.1 SMP PREEMPT Wed Nov
    30 10:55:16 UTC 2022 armv7l GNU/Linux

Still present as of 9581c4b59d2e11cd090613cd300a833b4441d2b5.

Proposed patch attached, which aims to be minimally invasive.


References:

[1]: https://git.adelielinux.org/adelie/packages/-/issues/943

Attachment: tests-cp-proc-short-read.patch
Description: Text Data


--- End Message ---
--- Begin Message --- Subject: Re: bug#60339: tests/cp/proc-short-read.sh may fail due to architecture / case sensitivity assumption Date: Mon, 26 Dec 2022 09:12:48 -0800 User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.4.2
I installed the fix. [Tt][Hh][Aa][Nn][Kk][Ss][.]


--- End Message ---

reply via email to

[Prev in Thread] Current Thread [Next in Thread]