Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

WIP: softtoken tests #153

Open
wants to merge 28 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 6 additions & 3 deletions .cirrus.yml
Original file line number Diff line number Diff line change
Expand Up @@ -318,9 +318,12 @@ task:
cpu: 1
memory: 1G
package_install_script:
- apt-get update
- apt-get install -y curl chromium
- ln -s -T /usr/bin/chromium /usr/bin/chromium-browser
- apt update
- apt-get install -y wget
- apt-get install -y gnupg2
- wget https://dl.google.com/linux/direct/google-chrome-stable_current_amd64.deb
- apt install curl -y
- apt install -y ./google-chrome-stable_current_amd64.deb
env:
CI_DISTRO: debian
CI_MAIN_MODULE: /usr/lib/x86_64-linux-gnu/nss/libnssckbi.so
Expand Down
2 changes: 1 addition & 1 deletion testdata/try-chromium-connect.bash
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ rm -f screenshot.png
# Disable sandbox because Chromium doesn't support running the sandbox as root,
# and the Cirrus container runs as root. See
# https://github.com/Zenika/alpine-chrome .
chromium-browser --no-sandbox --headless --disable-gpu --disable-software-rasterizer --disable-dev-shm-usage --screenshot=./screenshot.png "https://$SERVER_HOST" 2>&1 | tee log.txt
google-chrome --no-sandbox --headless --disable-gpu --disable-software-rasterizer --disable-dev-shm-usage --screenshot=./screenshot.png "https://$SERVER_HOST" 2>&1 | tee log.txt
TEXTOUT=$(cat log.txt)

if echo "$TEXTOUT" | grep -q "SSL error"
Expand Down