Revision: 6401
          http://ipcop.svn.sourceforge.net/ipcop/?rev=6401&view=rev
Author:   gespinasse
Date:     2012-02-21 23:23:44 +0000 (Tue, 21 Feb 2012)
Log Message:
-----------
I had one interesting failure while running a full build with tests.
During gettext build, something filed the disk and let /dev/null broken.

While trying to recover some disk space with ./make.sh clean, sudo test was 
broken, so I wasn't able to ./make.sh clean.

At least warn that /dev/null is broken as that broke many assumption in make.sh.

Modified Paths:
--------------
    ipcop/trunk/make.sh

Modified: ipcop/trunk/make.sh
===================================================================
--- ipcop/trunk/make.sh 2012-02-21 21:06:36 UTC (rev 6400)
+++ ipcop/trunk/make.sh 2012-02-21 23:23:44 UTC (rev 6401)
@@ -388,6 +388,9 @@
 # On some systems /sbin and /usr/sbin are not in non-root users' PATH.  Use a 
temporary PATH to include them
 export PATH=/bin:/sbin:/usr/bin:/usr/sbin
 
+# Give the right error if /dev/null is broken instead of failing many test 
later.
+echo dummy > /dev/null || exiterror "/dev/null is broken"
+
 # Find out the location of some programs. /etc/sudoers needs an absolute path 
to the executable for which
 # users are granted access (ie you can't type mount, you have to type 
/bin/mount)
 # We use bash's type as which may not be available

This was sent by the SourceForge.net collaborative development platform, the 
world's largest Open Source development site.


------------------------------------------------------------------------------
Keep Your Developer Skills Current with LearnDevNow!
The most comprehensive online learning library for Microsoft developers
is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3,
Metro Style Apps, more. Free future releases when you subscribe now!
http://p.sf.net/sfu/learndevnow-d2d
_______________________________________________
Ipcop-svn mailing list
Ipcop-svn@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/ipcop-svn

Reply via email to