; Check that include directives are relative for "-f /dev/stdin"
include non-existent-ledger-file-BF3C1F82

$ hledger -f- check

#test -f - reg -> 1
#__ERROR__
#While parsing file "", line 2:
#Error: File to include was not found: "$sourcepath/non-existent-ledger-file-BF3C1F82"
#end test
#
#test -f /dev/stdin reg -> 1
#__ERROR__
#While parsing file "", line 2:
#Error: File to include was not found: "$sourcepath/non-existent-ledger-file-BF3C1F82"
#end test
#