From 9201a01813920f8cfe674dc25c2454b9f0369494 Mon Sep 17 00:00:00 2001 From: Rob Landley Date: Thu, 2 Feb 2012 07:29:09 -0600 Subject: Test suite comment tweaks. --- scripts/test/sort.test | 7 +++---- scripts/test/testing.sh | 2 ++ 2 files changed, 5 insertions(+), 4 deletions(-) (limited to 'scripts/test') diff --git a/scripts/test/sort.test b/scripts/test/sort.test index 389b9fd7..cb82dc07 100755 --- a/scripts/test/sort.test +++ b/scripts/test/sort.test @@ -1,10 +1,9 @@ #!/bin/bash -# SUSv3 compliant sort tests. -# Copyright 2005 by Rob Landley -# Licensed under GPL v2, see file LICENSE for details. +# SUSv4 compliant sort tests. +# Copyright 2005, 2012 by Rob Landley -. testing.sh +[ -f testing.sh ] && . testing.sh # The basic tests. These should work even with the small config. diff --git a/scripts/test/testing.sh b/scripts/test/testing.sh index fd233697..0f72bce4 100644 --- a/scripts/test/testing.sh +++ b/scripts/test/testing.sh @@ -34,6 +34,8 @@ export SKIP= # Helper functions +# Check config to see if option is enabled, set SKIP if not. + optional() { option=`echo "$OPTIONFLAGS" | egrep "(^|:)$1(:|\$)"` -- cgit v1.2.3