Blame SOURCES/test_as_installed.patch

1af447
diff --git a/tests/Makefile b/tests/Makefile
1af447
index 5b7884f319e0..f4ec3428d29b 100644
1af447
--- a/tests/Makefile
1af447
+++ b/tests/Makefile
1af447
@@ -43,3 +43,8 @@ tests-no-security:
1af447
 	@for test in test*.pl; do \
1af447
 		perl $$test -i -q; \
1af447
 	done
1af447
+
1af447
+tests-as-installed:
1af447
+	@for test in test*.pl; do \
1af447
+		perl $$test -q --path="/usr/sbin/"; \
1af447
+	done
1af447
diff --git a/tests/harness.pl b/tests/harness.pl
1af447
index 7ed4fa09f5b6..fc7f937a3ca0 100755
1af447
--- a/tests/harness.pl
1af447
+++ b/tests/harness.pl
1af447
@@ -858,7 +858,8 @@ sub __isns_prep_test {
1af447
 	GetOptions('verbose+' => \$__isns_verbose,
1af447
 		   "quiet"    => \$__isns_quiet,
1af447
 		   "fast"     => \$__isns_quick,
1af447
-		   "insecure" => \$__isns_insecure);
1af447
+		   "insecure" => \$__isns_insecure,
1af447
+		   "path=s" => \$__isns_bin);
1af447
 	$__isns_verbose = 0 if ($__isns_quiet);
1af447
 	$__isns_security = 0 if ($__isns_insecure);
1af447