diff options
| author | Ophestra <cat@gensokyo.uk> | 2026-10-03 15:51:56 +0900 |
|---|---|---|
| committer | Ophestra <cat@gensokyo.uk> | 2026-10-03 18:00:30 +0900 |
| commit | aeb0ac9a329a253baf516be6ecfbdc4a750c6df6 (patch) | |
| tree | 275f7fd39936dfb65ee56e58163d1a2d816a7c36 /test/sharefs/main.go | |
| parent | 4b19686109b0962ea68dfe58feafffe3bac9c202 (diff) | |
internal/workflows: cache installed packages
This avoids re-downloading packages on every run.
Signed-off-by: Ophestra <cat@gensokyo.uk>
Diffstat (limited to 'test/sharefs/main.go')
| -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) |
