diff options
Diffstat (limited to 'test/sharefs')
| -rw-r--r-- | test/sharefs/main.go | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/test/sharefs/main.go b/test/sharefs/main.go index 536a61b3..c2b6cd41 100644 --- a/test/sharefs/main.go +++ b/test/sharefs/main.go @@ -51,16 +51,12 @@ func checkBadOpts(username, opts, want string) { func main() { go testsuite.ReceiveSignals() + username := testsuite.GetUser().Username if err := os.Mkdir("result", 0755); err != nil { log.Fatal(err) } - if len(os.Args) != 2 { - log.Fatal("expecting 1 argument") - } - username := os.Args[1] - done := make(chan struct{}) go func() { defer close(done) |
