File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -15,6 +15,7 @@ srcdir="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
1515
1616cd " $srcdir /.." ;
1717
18+ # shellcheck disable=SC1091
1819. ./tests/utils.sh
1920
2021section " Strip ANSI Escape Codes"
@@ -23,11 +24,11 @@ name="strip_ansi_escape_codes.py"
2324
2425start_time=$( date +%s)
2526
26- if is_mac; then
27- cat_opts=" -e"
28- else
29- cat_opts=" -A"
30- fi
27+ # if is_mac; then
28+ # cat_opts="-e"
29+ # else
30+ # cat_opts="-A"
31+ # fi
3132run++
3233if echo " some highlighted content" |
3334 grep --color=yes highlighted |
4243hr
4344
4445tmp=$( mktemp /tmp/strip_ansi_escape_codes.XXXXX)
46+ # shellcheck disable=SC2064,SC2086
4547trap " rm $tmp " $TRAP_SIGNALS
4648
4749echo
@@ -62,6 +64,8 @@ tee /dev/stderr |
6264fi
6365
6466echo
67+ # $run_count defined in lib
68+ # shellcheck disable=SC2154
6569echo " Total Tests run: $run_count "
6670time_taken " $start_time " " All version tests for $name completed in"
6771echo
You can’t perform that action at this time.
0 commit comments