[PATCH] xfstests: don't run 122 if required headers aren't found
Eric Sandeen
sandeen at redhat.com
Wed Jun 3 12:17:10 CDT 2009
Now that libxfs etc is optional, 122 (which compiles on the fly)
is failing if those extra headers are missing.
Signed-off-by: Eric Sandeen <sandeen at redhat.com>
---
diff --git a/122 b/122
index 7123753..9fbe437 100755
--- a/122
+++ b/122
@@ -191,7 +191,8 @@ awk '
echo 'return 0; }' >>$cprog
# create and run program
-cc -o $oprog $cprog
+cc -o $oprog $cprog >> $seq.full 2>&1 || \
+ _notrun "Could not compile test program (see end of $seq.full)"
$oprog | _type_size_filter > $progout
#
More information about the xfs
mailing list