mirror of https://github.com/sharkdp/bat
Merge b05cde7ab4
into b4e3a84e1a
commit
a28d961bc0
@ -0,0 +1,14 @@
|
||||
#!/bin/bash
|
||||
|
||||
## test for issue 2561
|
||||
|
||||
OUTPUT=$(mktemp)
|
||||
BAT=bat
|
||||
code=$($BAT /tmp 2> $OUTPUT; cat $OUTPUT | grep error; echo $?)
|
||||
|
||||
if [[ $code == 1 ]]; then
|
||||
echo "stderr test fsil"
|
||||
exit 1
|
||||
fi
|
||||
|
||||
exit 0
|
Loading…
Reference in New Issue