Move parseFontFaceDescriptor to CSSPropertyParser.cpp
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / http / tests / resources / touch-temp-file.php
blobed5abca080d8f9552d178886efaff526886694c8
1 <?php
2 require_once 'portabilityLayer.php';
4 if (!sys_get_temp_dir()) {
5 echo "FAIL: No temp dir was returned.\n";
6 exit();
9 $tmpFile = sys_get_temp_dir() . "/" . $_GET['filename'];
11 $stat = stat($tmpFile);
12 if (!$stat) {
13 echo "FAIL: stat() call failed.\n";
14 exit();
17 $mtime = $stat['mtime'] + 2;
19 if (!touch($tmpFile, $mtime)) {
20 echo "FAIL: touch() call failed.\n";