forked from devcontainers/features
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathtest.sh
More file actions
executable file
·28 lines (19 loc) · 710 Bytes
/
Copy pathtest.sh
File metadata and controls
executable file
·28 lines (19 loc) · 710 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
#!/bin/bash
set -e
# Optional: Import test library
source dev-container-features-test-lib
# go
check "version" go version
# revive
check "revive version" revive --version
check "revive is installed at correct path" bash -c "which revive | grep /go/bin/revive"
# gomodifytags
check "gomodifytags is installed at correct path" bash -c "which gomodifytags | grep /go/bin/gomodifytags"
# goplay
check "goplay is installed at correct path" bash -c "which goplay | grep /go/bin/goplay"
# gotests
check "gotests is installed at correct path" bash -c "which gotests | grep /go/bin/gotests"
# impl
check "impl is installed at correct path" bash -c "which impl | grep /go/bin/impl"
# Report result
reportResults