From: Richard Kettlewell Date: Sun, 20 Jan 2008 12:01:22 +0000 (+0000) Subject: Unset environment when testing Disobedience --help/--version, to X-Git-Tag: 3.0~38 X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~mdw/git/disorder/commitdiff_plain/97d3386fb263c6a2fefe88a50ec4ff0dae34b8ab?hp=c40544fdbbfd762bed24b65d96d9d1ca0bdec3f7 Unset environment when testing Disobedience --help/--version, to enforce the rule that it these options work even if no X display is available. --- 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