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

Delta Between Two Patch Sets: environs/ec2/auth_test.go

Issue 5699085: environs: fixes for gocheck changes.
Left Patch Set: Created 13 years, 1 month ago
Right Patch Set: environs: fixes for gocheck changes. Created 13 years, 1 month ago
Left:
Right:
Use n/p to move between diff chunks; N/P to move between comments. Please Sign in to add in-line comments.
Jump to:
Left: Side by side diff | Download
Right: Side by side diff | Download
« no previous file with change/comment | « environs/config_test.go ('k') | environs/ec2/cloudinit_test.go » ('j') | no next file with change/comment »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
LEFTRIGHT
1 package ec2_test 1 package ec2_test
2 2
3 import ( 3 import (
4 "io/ioutil" 4 "io/ioutil"
5 . "launchpad.net/gocheck" 5 . "launchpad.net/gocheck"
6 "launchpad.net/juju/go/environs/ec2" 6 "launchpad.net/juju/go/environs/ec2"
7 "os" 7 "os"
8 "path/filepath" 8 "path/filepath"
9 "sort" 9 "sort"
10 "strings" 10 "strings"
(...skipping 67 matching lines...) Expand 10 before | Expand all | Expand 10 after
78 // explicit path relative to home 78 // explicit path relative to home
79 keys, err = ec2.AuthorizedKeys(filepath.Join("~", ".ssh", "authorized_ke ys2")) 79 keys, err = ec2.AuthorizedKeys(filepath.Join("~", ".ssh", "authorized_ke ys2"))
80 c.Check(err, IsNil) 80 c.Check(err, IsNil)
81 c.Check(keys, Equals, "auth2\n") 81 c.Check(keys, Equals, "auth2\n")
82 82
83 // explicit absolute path 83 // explicit absolute path
84 keys, err = ec2.AuthorizedKeys(filepath.Join(d, "authorized_keys2")) 84 keys, err = ec2.AuthorizedKeys(filepath.Join(d, "authorized_keys2"))
85 c.Check(err, IsNil) 85 c.Check(err, IsNil)
86 c.Check(keys, Equals, "auth2\n") 86 c.Check(keys, Equals, "auth2\n")
87 } 87 }
LEFTRIGHT

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