Skip to content

Commit d35376d

Browse files
committed
sh: replace wc with awk in test
different output formats for wc -c caused the test to fail on macos
1 parent e91f23b commit d35376d

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

sh/tests/sh/commands/pipeline.out

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
15
1+
14

sh/tests/sh/commands/pipeline.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
1-
echo 'this is a test' | cat | wc -c
1+
echo 'this is a test' | cat | awk 'END {print length($0)}'
22

0 commit comments

Comments
 (0)