Repository navigation
Commit 3ba8e86
committed
FST: detect detectors with no raw data also on macOS
The check for detectors that produced only empty raw files compared the
output of wc -l with "0". BSD wc, as on macOS, pads its count with
spaces, so the comparison never matched and an empty raw output went
unnoticed: the TRD raw files of a run were all empty, and the test only
failed later, when no CTF had been written. grep -c prints the bare count
on every platform.1 parent 933d59e commit 3ba8e86
1 file changed
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
222 | 222 | | |
223 | 223 | | |
224 | 224 | | |
225 | | - | |
| 225 | + | |
226 | 226 | | |
227 | 227 | | |
228 | 228 | | |
| |||
0 commit comments