Commit 62e9e6c
committed
test: fix 'diff --unified' failing on Alpine Linux
The long '--unified' flag of the 'diff' command is GNU specific.
Although it is recognized by the Alpine Linux version of 'diff', it is
expecting a numeric argument N (number of lines).
This difference caused test cases using 'diff' to fail on Alpine.
This patch changes that to '-u' which implies N=3 by default on both
GNU-based distros and Alpine Linux.
Signed-off-by: Michal Rábek <[email protected]>1 parent 9ef37be commit 62e9e6c
1 file changed
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
5 | 5 | | |
6 | 6 | | |
7 | 7 | | |
8 | | - | |
| 8 | + | |
0 commit comments