mirror of
https://github.com/Gericom/teak-llvm.git
synced 2025-06-20 20:15:49 -04:00

Different Unix "errno" values are returned for the following scenarios: $ echo test > /tmp/existingFile/impossibleDir/impossibleFile "Not a directory" $ echo test > /tmp/nonexistentDir/impossibleFile "No such file or directory" This fixes the regression introduced by r352971 / D57592. llvm-svn: 352996
9 lines
404 B
C
9 lines
404 B
C
// RUN: %clang_cc1 -emit-llvm -o /dev/null -stats-file=%t %s
|
|
// RUN: FileCheck -input-file=%t %s
|
|
// CHECK: {
|
|
// ... here come some json values ...
|
|
// CHECK: }
|
|
|
|
// RUN: %clang_cc1 -emit-llvm -o %t -stats-file=%t.doesnotexist/bla %s 2>&1 | FileCheck -check-prefix=OUTPUTFAIL %s
|
|
// OUTPUTFAIL: warning: unable to open statistics output file '{{.*}}doesnotexist{{.}}bla': '{{[Nn]}}o such file or directory'
|