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 1 commit
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
Prev Previous commit
Next Next commit
softtoken tests
  • Loading branch information
robertmin1 committed Nov 14, 2022
commit 4dae2f08dc9cf2c640e0219f2d8c8f3fd51b82de
7 changes: 4 additions & 3 deletions .cirrus.yml
Original file line number Diff line number Diff line change
Expand Up @@ -318,9 +318,10 @@ 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
- wget -q -O - https://dl-ssl.google.com/linux/linux_signing_key.pub | sudo apt-key add -
- sudo add-apt-repository "deb http://dl.google.com/linux/chrome/deb/ stable main"
- sudo apt update
- sudo apt install google-chrome-stable
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