https://codereview.appspot.com/6849102/diff/11001/golxc.go#newcode318
golxc.go:318: }
And if there was no error, but extra stuff was printed to stderr, we'd
just hand it back below... so the comment doesn't quite address my
concern, which is about getting unwanted output but no error.
Couple of minors
https:/ /codereview. appspot. com/6849102/ diff/5002/ golxc_test. go
File golxc_test.go (right):
https:/ /codereview. appspot. com/6849102/ diff/5002/ golxc_test. go#newcode160 aultFile( "/tmp/not- existing- exc-test" )
golxc_test.go:160: orig :=
golxc.SetLXCDef
On 2013/01/31 17:14:22, TheMue wrote:
> On 2013/01/30 16:44:58, fwereade wrote:
> > c.MkDir()
> No file written, only name of a non-existing file.
How do you know it doesn't exist if you don't control the directory?
https:/ /codereview. appspot. com/6849102/ diff/11001/ golxc.go
File golxc.go (right):
https:/ /codereview. appspot. com/6849102/ diff/11001/ golxc.go# newcode318
golxc.go:318: }
And if there was no error, but extra stuff was printed to stderr, we'd
just hand it back below... so the comment doesn't quite address my
concern, which is about getting unwanted output but no error.
https:/ /codereview. appspot. com/6849102/ diff/11001/ golxc_test. go
File golxc_test.go (right):
https:/ /codereview. appspot. com/6849102/ diff/11001/ golxc_test. go#newcode164 aultFile( "/any/path/ to/non- existing/ lxc-file" )
golxc_test.go:164: orig :=
golxc.SetLXCDef
I don't think you can guarantee this path doesn't exist either ;).
https:/ /codereview. appspot. com/6849102/