Hi there,

I've a fix here to address
18010 cli.t_pkglint.TestPkglintCliDepot.test_2_badcache assumes /home is 
read-only

It's short, so I've just included the diff below.  Could someone give it
a quick code review please?

        cheers,
                        tim

timf@linn[479] hg diff -r 2263 -r tip
diff --git a/src/tests/cli/t_pkglint.py b/src/tests/cli/t_pkglint.py
--- a/src/tests/cli/t_pkglint.py
+++ b/src/tests/cli/t_pkglint.py
@@ -326,7 +326,7 @@
         def test_2_badcache(self):
                 """Checks we can deal with bad -c options """
 
-                opts = ["/dev/null", "/home", "/etc/passwd"]
+                opts = ["/dev/null", "/etc/passwd"]
                 for cache in opts:
                         self.pkglint("-c %s -r %s -l %s" %
                             (cache, self.ref_uri, self.lint_uri), exit=1)


_______________________________________________
pkg-discuss mailing list
[email protected]
http://mail.opensolaris.org/mailman/listinfo/pkg-discuss

Reply via email to