Closed erayd closed 6 years ago
steve@neith /tmp/browserpass $ docker run --rm -v "$(pwd)":/browserpass browserpass-dev yarn yarn install v0.23.3 [1/4] Resolving packages... [2/4] Fetching packages... [3/4] Linking dependencies... [4/4] Building fresh packages... Done in 5.01s. dep ensure node_modules/.bin/prettier --write chrome/styles.css chrome/script.browserify.js chrome/otp.js chrome/otp.css chrome/options.browserify.js chrome/inject_otp.js chrome/inject.js chrome/background.browserify.js chrome/styles.css 322ms chrome/script.browserify.js 565ms chrome/otp.js 73ms chrome/otp.css 55ms chrome/options.browserify.js 97ms chrome/inject_otp.js 18ms chrome/inject.js 106ms chrome/background.browserify.js 103ms node_modules/.bin/browserify chrome/background.browserify.js -o chrome/background.js node_modules/.bin/browserify chrome/script.browserify.js -o chrome/script.js node_modules/.bin/browserify chrome/options.browserify.js -o chrome/options.js cp chrome/host.json chrome-host.json cp firefox/host.json firefox-host.json cp chrome/policy.json chrome-policy.json cp chrome/{*.html,*.css,*.js,*.png,*.svg} firefox/ go build -o browserpass ./cmd/browserpass go test PASS ok github.com/dannyvankooten/browserpass 0.003s go test ./pass --- FAIL: TestDefaultStorePath (0.00s) disk_test.go:16: user: Current not implemented on linux/amd64 disk_test.go:27: 1: '/root/.password-store' does not match '' FAIL FAIL github.com/dannyvankooten/browserpass/pass 0.016s make: *** [Makefile:62: test] Error 1
This might be related to golang/go/issues/14625.
Since current user is not available, I simply skipped that part of the test that verifies the behavior for a current user 😉. Should be good now.
Thanks :-)