 }
 
 // CHECK-NOT: error
-// CHECK: created mode *33216* *33216*
+// CHECK: created mode *{{33216|33060}}* *{{33216|33060}}*
 let tempFile = 
   open(tempPath, O_RDWR | O_CREAT | O_EXCL, S_IRUSR | S_IWUSR | S_IXUSR)
 if tempFile == -1 {

  import Glibc
#elseif os(Windows)
  import MSVCRT
#else
#error("Unsupported platform")
#endif


print("created mode *\(statbuf1.st_mode)* *\(statbuf2.st_mode)*")

#if os(Windows)
assert(statbuf1.st_mode == S_IFREG | S_IRUSR | S_IRGRP | S_IROTH)
#else
assert(statbuf1.st_mode == S_IFREG | S_IRUSR | S_IWUSR | S_IXUSR)
#endif
assert(statbuf1.st_mode == statbuf2.st_mode)

