diff tests/hghave.py @ 31964:ebaada96aec3

stdio: add Linux-specific tests for error checking
author Bryan O'Sullivan <bryano@fb.com>
date Tue, 11 Apr 2017 14:54:12 -0700
parents 1ed57a7dd904
children 5bdceec6387d cf415777a22c
line wrap: on
line diff
--- a/tests/hghave.py	Tue Apr 11 14:54:12 2017 -0700
+++ b/tests/hghave.py	Tue Apr 11 14:54:12 2017 -0700
@@ -634,3 +634,7 @@
         return True
     except ImportError:
         return False
+
+@check("devfull", "/dev/full special file")
+def has_dev_full():
+    return os.path.exists('/dev/full')