Commit fe50aed
committed
testsuite: skip tests that use COLUMNS if value not preserved
Problem: A couple tests in the testsuite explicitly set the COLUMNS
environment variable to ensure the output of a command responds to
changes in the terminal width. However, in some environments the
flux(1) libtool wrapper script can reset this variable, causing the
tests to erroneously fail.
Use the provided test_columns_variable_preserved() function to check
for the required behavior of this variable, and skip the tests if not.1 parent 2d5beca commit fe50aed
2 files changed
+4
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
681 | 681 | | |
682 | 682 | | |
683 | 683 | | |
684 | | - | |
| 684 | + | |
| 685 | + | |
685 | 686 | | |
686 | 687 | | |
687 | 688 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
149 | 149 | | |
150 | 150 | | |
151 | 151 | | |
152 | | - | |
| 152 | + | |
| 153 | + | |
153 | 154 | | |
154 | 155 | | |
155 | 156 | | |
| |||
0 commit comments