1# Check the various features of the ShTest format. 2# 3# PR33938 4# XFAIL: windows 5# 6# RUN: not %{lit} -j 1 -v %{inputs}/shtest-output-printing > %t.out 7# RUN: FileCheck --input-file %t.out %s 8# 9# END. 10 11# CHECK: -- Testing: 12 13# CHECK: FAIL: shtest-output-printing :: basic.txt 14# CHECK-NEXT: *** TEST 'shtest-output-printing :: basic.txt' FAILED *** 15# CHECK-NEXT: Script: 16# CHECK-NEXT: -- 17# CHECK: -- 18# CHECK-NEXT: Exit Code: 1 19# 20# CHECK: Command Output 21# CHECK-NEXT: -- 22# CHECK-NEXT: $ "true" 23# CHECK-NEXT: $ "echo" "hi" 24# CHECK-NEXT: # command output: 25# CHECK-NEXT: hi 26# 27# CHECK: $ "wc" "missing-file" 28# CHECK-NEXT: # redirected output from '{{.*}}/basic.txt.tmp.out': 29# CHECK-NEXT: missing-file{{.*}} No such file or directory 30# CHECK: note: command had no output on stdout or stderr 31# CHECK-NEXT: error: command failed with exit status: 1 32