Skip to content
Snippets Groups Projects
Verified Commit 513a0987 authored by Volker Schukai's avatar Volker Schukai :alien:
Browse files

fix: debug build

parent daa40844
No related branches found
No related tags found
No related merge requests found
......@@ -89,7 +89,6 @@ Match User root
PermitRootLogin no
AllowUsers demo root
EOF
${pkgs.openssh}/bin/sshd -D -e -o \
HostKey=${config.devenv.root}/.config/temp_rsa_key \
......@@ -98,7 +97,6 @@ EOF
-o Port=''${1:-2222} \
-o AuthorizedKeysFile=${config.devenv.root}/.devenv/chroot/home/demo/.ssh/authorized_keys \
-o PidFile=${config.devenv.root}/.devenv/sshd.pid
'';
scripts.draw-graph.exec = ''
......@@ -117,10 +115,6 @@ EOF
else
echo "not deleting; file is at $tmpOutput"
fi
'';
scripts.get-go-default-packages.exec = ''
......@@ -135,9 +129,9 @@ EOF
set -x
${pkgs.gosec}/bin/gosec ${config.devenv.root}
${pkgs.go}/bin/go test -tags=runOnTask -cover -v ${config.devenv.root}
${pkgs.go}/bin/go test -tags=runOnTask -bench -v ${config.devenv.root}
${pkgs.go}/bin/go test -tags=runOnTask -race -v ${config.devenv.root}
${pkgs.go}/bin/go test -mod=mod -tags 'runOnTask,osusergo,netgo' -a -ldflags "-extldflags '-static' -s -w" -cover -v ${config.devenv.root}
${pkgs.go}/bin/go test -mod=mod -tags 'runOnTask,osusergo,netgo' -a -ldflags "-extldflags '-static' -s -w" -bench -v ${config.devenv.root}
${pkgs.go}/bin/go test -mod=mod -tags 'runOnTask,osusergo,netgo' -a -ldflags "-extldflags '-static' -s -w" -race -v ${config.devenv.root}
'';
......
......@@ -444,7 +444,7 @@ interval: "1m1s"
err := yaml.Unmarshal([]byte(yamlData), &sp)
assert.Nil(t, err, "Unmarshalling should not produce an error")
expectedInterval, _ := time.ParseDuration("1m")
assert.Equal(t, "interval", sp.Type, "Type should be unmarshalled correctly")
expectedInterval, _ := time.ParseDuration("1m1s")
assert.Equal(t, "Interval", sp.Type, "Type should be unmarshalled correctly")
assert.Equal(t, expectedInterval, sp.Interval, "Interval should be unmarshalled correctly")
}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment