From 97d3386fb263c6a2fefe88a50ec4ff0dae34b8ab Mon Sep 17 00:00:00 2001 Message-Id: <97d3386fb263c6a2fefe88a50ec4ff0dae34b8ab.1718577509.git.mdw@distorted.org.uk> From: Mark Wooding Date: Sun, 20 Jan 2008 12:01:22 +0000 Subject: [PATCH] Unset environment when testing Disobedience --help/--version, to enforce the rule that it these options work even if no X display is available. Organization: Straylight/Edgeware From: Richard Kettlewell --- disobedience/Makefile.am | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/disobedience/Makefile.am b/disobedience/Makefile.am index ae3bc6c..335e571 100644 --- a/disobedience/Makefile.am +++ b/disobedience/Makefile.am @@ -1,6 +1,6 @@ # # This file is part of DisOrder. -# Copyright (C) 2006, 2007 Richard Kettlewell +# Copyright (C) 2006-2008 Richard Kettlewell # # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by @@ -62,6 +62,7 @@ images.h: $(PNGS) # check everything has working --help check-help: all - ./disobedience --version > /dev/null + unset DISPLAY;./disobedience --version > /dev/null + unset DISPLAY;./disobedience --help > /dev/null export GNUSED -- [mdw]