summaryrefslogtreecommitdiff
path: root/system/coreutils/tests-cp-proc-short-read.patch
diff options
context:
space:
mode:
Diffstat (limited to 'system/coreutils/tests-cp-proc-short-read.patch')
-rw-r--r--system/coreutils/tests-cp-proc-short-read.patch15
1 files changed, 15 insertions, 0 deletions
diff --git a/system/coreutils/tests-cp-proc-short-read.patch b/system/coreutils/tests-cp-proc-short-read.patch
new file mode 100644
index 000000000..33f0417d8
--- /dev/null
+++ b/system/coreutils/tests-cp-proc-short-read.patch
@@ -0,0 +1,15 @@
+diff --git a/tests/cp/proc-short-read.sh b/tests/cp/proc-short-read.sh
+index bedb08e06..89dba8d3d 100755
+--- a/tests/cp/proc-short-read.sh
++++ b/tests/cp/proc-short-read.sh
+@@ -28,8 +28,8 @@ cp $proc_large 1 || fail=1
+ cat $proc_large > 2 || fail=1
+
+ # adjust varying parts
+-sed '/MHz/d; /bogomips/d;' 1 > proc.cp || framework_failure_
+-sed '/MHz/d; /bogomips/d;' 2 > proc.cat || framework_failure_
++sed '/MHz/d; /[Bb][Oo][Gg][Oo][Mm][Ii][Pp][Ss]/d;' 1 > proc.cp || framework_failure_
++sed '/MHz/d; /[Bb][Oo][Gg][Oo][Mm][Ii][Pp][Ss]/d;' 2 > proc.cat || framework_failure_
+
+ compare proc.cp proc.cat || fail=1
+