aboutsummaryrefslogtreecommitdiffhomepage
path: root/test/sharefs
diff options
context:
space:
mode:
authorOphestra <cat@gensokyo.uk>2026-10-03 15:51:56 +0900
committerOphestra <cat@gensokyo.uk>2026-10-03 18:00:30 +0900
commitaeb0ac9a329a253baf516be6ecfbdc4a750c6df6 (patch)
tree275f7fd39936dfb65ee56e58163d1a2d816a7c36 /test/sharefs
parent4b19686109b0962ea68dfe58feafffe3bac9c202 (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')
-rw-r--r--test/sharefs/main.go6
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)