Tests: revert 5db96b64cead, use "which" instead of "command -v".

It turns out that Linux doesn't have "command -v" (there are shell builtins,
but no standalone binary).  Use "which" instead, and provide a special case
for Solaris.
diff --git a/lib/Test/Nginx.pm b/lib/Test/Nginx.pm
index 13bb3c0..0a68523 100644
--- a/lib/Test/Nginx.pm
+++ b/lib/Test/Nginx.pm
@@ -124,8 +124,14 @@
 		return $self;
 	}
 
+	if ($^O eq 'solaris') {
+		Test::More::plan(skip_all => "$daemon not found")
+			unless `command -v $daemon`;
+		return $self;
+	}
+
 	Test::More::plan(skip_all => "$daemon not found")
-		unless `command -v $daemon`;
+		unless `which $daemon`;
 
 	return $self;
 }