There are a few packages which use /dev/full to generate nospace left
or other such return values for the use in make check.  We should
create that in mock.  Here is a simple patch that adds it.

-- 
Jesse Keating
Fedora -- All my bits are free, are yours?
From 326eff18721c5e95a2c94556e363d3e8beec1eca Mon Sep 17 00:00:00 2001
From: Jesse Keating <[EMAIL PROTECTED]>
Date: Thu, 3 Jan 2008 09:40:41 -0500
Subject: [PATCH] Create the dev/full device, some packages use it during make check.

---
 py/mock/backend.py |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/py/mock/backend.py b/py/mock/backend.py
index d4d0eb4..a65267b 100644
--- a/py/mock/backend.py
+++ b/py/mock/backend.py
@@ -267,6 +267,7 @@ class Root(object):
         prevMask = os.umask(0000)
         devFiles = (
             (stat.S_IFCHR | 0666, os.makedev(1, 3), "dev/null"),
+            (stat.S_IFCHR | 0666, os.makedev(1, 3), "dev/full"),
             (stat.S_IFCHR | 0666, os.makedev(1, 5), "dev/zero"),
             (stat.S_IFCHR | 0666, os.makedev(1, 8), "dev/random"),
             (stat.S_IFCHR | 0444, os.makedev(1, 9), "dev/urandom"),
-- 
1.5.3.7

Attachment: signature.asc
Description: PGP signature

--
Fedora-buildsys-list mailing list
[email protected]
https://www.redhat.com/mailman/listinfo/fedora-buildsys-list

Reply via email to