; RUN: not filechecker --input-file %s %s --check-prefix CHECK1 --match-full-lines --dump-input-on-failure 1 2>&1 | filechecker %s --check-prefix CHECKERROR
; RUN: env FILECHECK_DUMP_INPUT_ON_FAILURE=1 not filechecker --input-file %s %s --check-prefix CHECK1 --match-full-lines 2>&1 |  filechecker %s --check-prefix CHECKERROR
; RUN: env FILECHECK_DUMP_INPUT_ON_FAILURE=1 not filechecker --input-file %s %s --check-prefix CHECK1 --match-full-lines --dump-input-on-failure 0 2>&1 |  filechecker %s --check-prefix CHECKERRORNOVERBOSE

hello
world

; CHECK1: ciao
; CHECK1-NEXT: world

; CHECKERROR: Full input was:
; CHECKERROR-NEXT: <<<<<<
; CHECKERROR: hello
; CHECKERROR: world
; CHECKERROR: >>>>>>

; CHECKERRORNOVERBOSE-NOT: <<<<<<
