Simplify test skipping

Change-Id: I45ca4998e50f60849f6f44544f3c8d22f33ac91c
diff --git a/t/script/config.t b/t/script/config.t
index 628409b..9ca2a36 100644
--- a/t/script/config.t
+++ b/t/script/config.t
@@ -9,6 +9,10 @@
 use Test::Output qw/combined_from/;
 use Data::Dumper;
 
+if ($ENV{SKIP_SCRIPT}) {
+  plan skip_all => 'Skip script tests';
+};
+
 my $f = dirname(__FILE__);
 
 my ($fh, $cfg_file) = tempfile();