Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code | Sign in
(1296)

Unified Diff: juju/osenv/vars_linux_test.go

Issue 13079045: Minor fix for Windows
Patch Set: Minor fix for Windows Created 11 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Please Sign in to add in-line comments.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « juju/osenv/vars_linux.go ('k') | juju/osenv/vars_test.go » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: juju/osenv/vars_linux_test.go
=== added file 'juju/osenv/vars_linux_test.go'
--- juju/osenv/vars_linux_test.go 1970-01-01 00:00:00 +0000
+++ juju/osenv/vars_linux_test.go 2013-09-04 14:27:52 +0000
@@ -0,0 +1,14 @@
+package osenv_test
+
+import (
+ gc "launchpad.net/gocheck"
+
+ "launchpad.net/juju-core/juju/osenv"
+ "launchpad.net/juju-core/testing"
+)
+
+func (*importSuite) TestHomeLinux(c *gc.C) {
+ h := "/home/foo/bar"
+ testing.PatchEnvironment("HOME", h)
+ c.Check(osenv.Home(), gc.Equals, h)
+}
« no previous file with comments | « juju/osenv/vars_linux.go ('k') | juju/osenv/vars_test.go » ('j') | no next file with comments »

Powered by Google App Engine
RSS Feeds Recent Issues | This issue
This is Rietveld f62528b