Skip to content

Commit

Permalink
[bitnami/dotnet] Fix Goss tests for dotnet, dotnet-sdk and aspnet-core
Browse files Browse the repository at this point in the history
Signed-off-by: mdhont <michield@vmware.com>
  • Loading branch information
mdhont committed Sep 1, 2023
1 parent 6d4601b commit 4a2d96c
Show file tree
Hide file tree
Showing 6 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion .vib/aspnet-core/goss/aspnet-core.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ command:
check-bin-caps:
exec: getcap /opt/bitnami/aspnet-core/bin/dotnet
stdout:
- {{ .Vars.binary.capabilities }}
- /{{ .Vars.binary.capabilities }}/
exit-status: 0
check-installed-runtimes:
exec: dotnet --list-runtimes
Expand Down
2 changes: 1 addition & 1 deletion .vib/aspnet-core/goss/vars.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,4 +12,4 @@ version:
bin_name: dotnet
flag: --info
binary:
capabilities: cap_net_bind_service=eip
capabilities: cap_net_bind_service[+=]eip
2 changes: 1 addition & 1 deletion .vib/dotnet-sdk/goss/dotnet-sdk.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ command:
check-bin-caps:
exec: getcap /opt/bitnami/dotnet-sdk/bin/dotnet
stdout:
- {{ .Vars.binary.capabilities }}
- /{{ .Vars.binary.capabilities }}/
exit-status: 0
check-installed-runtimes:
exec: dotnet --list-runtimes
Expand Down
2 changes: 1 addition & 1 deletion .vib/dotnet-sdk/goss/vars.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,4 +13,4 @@ version:
bin_name: dotnet
flag: --version
binary:
capabilities: cap_net_bind_service=eip
capabilities: cap_net_bind_service[+=]eip
2 changes: 1 addition & 1 deletion .vib/dotnet/goss/dotnet.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ command:
check-bin-caps:
exec: getcap /opt/bitnami/dotnet/bin/dotnet
stdout:
- {{ .Vars.binary.capabilities }}
- /{{ .Vars.binary.capabilities }}/
exit-status: 0
check-installed-runtimes:
exec: dotnet --list-runtimes
Expand Down
2 changes: 1 addition & 1 deletion .vib/dotnet/goss/vars.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,4 +12,4 @@ version:
bin_name: dotnet
flag: --info
binary:
capabilities: cap_net_bind_service=eip
capabilities: cap_net_bind_service[+=]eip

0 comments on commit 4a2d96c

Please sign in to comment.