Commit b1bdece
testsuite: fix resource norestrict test
Problem; The resource 'norestrict' test in t2315-resource-system.t
uses the output of hwloc-calc, but in some versions of hwloc, that
command logs extra lines of data to stdout.
Pass the output of `hwloc-calc` to `tail -n1` to avoid spurious test
failures on hwloc versions with this misfeature.1 parent dc3cea7 commit b1bdece
1 file changed
+1
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
136 | 136 | | |
137 | 137 | | |
138 | 138 | | |
139 | | - | |
| 139 | + | |
140 | 140 | | |
141 | 141 | | |
142 | 142 | | |
| |||
0 commit comments