diff --git a/test/Frontend/crash-in-user-code.swift b/test/Frontend/crash-in-user-code.swift index 7cb2a892a61..6e8c1c8224e 100644 --- a/test/Frontend/crash-in-user-code.swift +++ b/test/Frontend/crash-in-user-code.swift @@ -1,13 +1,13 @@ - -// RUN: echo %s > %t.filelist.txt -// RUN: not --crash %target-swift-frontend -interpret -filelist %t.filelist.txt 2>&1 | %FileCheck %s +// RUN: %empty-directory(%t) +// RUN: echo %s > %t/filelist.txt +// RUN: not --crash %target-swift-frontend -interpret -filelist %t/filelist.txt 2>&1 >%t/output.txt +// %FileCheck %s < %t/output.txt // REQUIRES: executable_test // UNSUPPORTED: OS=ios // UNSUPPORTED: OS=tvos // UNSUPPORTED: OS=watchos -// UNSUPPORTED: MSVC_VER=15.0 // CHECK: Stack dump: // CHECK-NEXT: Program arguments: