skip test if db doesn't have null key support
[p5sagit/p5-mst-13.2.git] / t / lib / env.t
index 93d2406..2573164 100755 (executable)
@@ -7,12 +7,19 @@ BEGIN {
 
 BEGIN {
        $ENV{FOO} = "foo";
+       $ENV{BAR} = "bar";
 }
 
-use Env qw(FOO);
+use Env qw(FOO $BAR);
 
 $FOO .= "/bar";
+$BAR .= "/baz";
+
+print "1..2\n";
 
-print "1..1\n";
 print "not " if $FOO ne 'foo/bar';
 print "ok 1\n";
+
+print "not " if $BAR ne 'bar/baz';
+print "ok 2\n";
+