diff options
author | Pádraig Brady <P@draigBrady.com> | 2022-12-29 14:14:11 +0000 |
---|---|---|
committer | Pádraig Brady <P@draigBrady.com> | 2022-12-29 14:15:54 +0000 |
commit | 4bf990bf658d4070e74fc64b0fafef4d305af8f4 (patch) | |
tree | dd32469b266410bfa4c7f2a17773b48637866238 /tests | |
parent | cfe4af661f9572ad4dbe5b3e01a178e04ff343ae (diff) | |
download | coreutils-4bf990bf658d4070e74fc64b0fafef4d305af8f4.tar.gz |
maint: avoid recent syntax check failure
* tests/cp/proc-short-read.sh: Adjust so shorter lines.
Diffstat (limited to 'tests')
-rwxr-xr-x | tests/cp/proc-short-read.sh | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/tests/cp/proc-short-read.sh b/tests/cp/proc-short-read.sh index 89dba8d3d..f93d79ad6 100755 --- a/tests/cp/proc-short-read.sh +++ b/tests/cp/proc-short-read.sh @@ -28,8 +28,9 @@ cp $proc_large 1 || fail=1 cat $proc_large > 2 || fail=1 # adjust varying parts -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_ +del_varying='/MHz/d; /[Bb][Oo][Gg][Oo][Mm][Ii][Pp][Ss]/d;' +sed "$del_varying" 1 > proc.cp || framework_failure_ +sed "$del_varying" 2 > proc.cat || framework_failure_ compare proc.cp proc.cat || fail=1 |