Skip to content

Commit

Permalink
test home workaround
Browse files Browse the repository at this point in the history
  • Loading branch information
geedo0 committed Aug 21, 2024
1 parent 77cc16f commit 2d52c6b
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 17 deletions.
25 changes: 10 additions & 15 deletions .github/workflows/ubuntu.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,18 +12,13 @@ jobs:
mkdir -p -m 0755 /var/empty
groupadd sshd
useradd -g sshd -c 'sshd privsep' -d /var/empty -s /bin/false sshd
- name: log stuff
run: |
whoami
echo ${HOME}
cat /etc/passwd
# - name: Clone liboqs
# run: ./oqs-scripts/clone_liboqs.sh
# - name: Build liboqs
# run: ./oqs-scripts/build_liboqs.sh
# - name: Build OpenSSH
# run: env WITH_OPENSSL=true ./oqs-scripts/build_openssh.sh
# - name: Run tests documented to pass
# run: ./oqs-test/run_tests.sh
# - name: Ensure we have the ssh and sshd syntax right once for each algorithm
# run: python3 oqs-test/try_connection.py doone
- name: Clone liboqs
run: ./oqs-scripts/clone_liboqs.sh
- name: Build liboqs
run: ./oqs-scripts/build_liboqs.sh
- name: Build OpenSSH
run: env WITH_OPENSSL=true ./oqs-scripts/build_openssh.sh
- name: Run tests documented to pass
run: ./oqs-test/run_tests.sh
- name: Ensure we have the ssh and sshd syntax right once for each algorithm
run: python3 oqs-test/try_connection.py doone
2 changes: 0 additions & 2 deletions oqs-test/run_tests.sh
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,4 @@ SKIPPED_DUE_TO_CERTIFIED_KEYS="agent \
cert-file \
sshsig"
# make tests -e SKIP_LTESTS="${INVESTIGATE_FURTHER} ${SKIPPED_DUE_TO_CERTIFIED_KEYS} ${HACK}"
echo $HOME
whoami
make tests -e LTESTS="percent" SKIP_UNIT=1
1 change: 1 addition & 0 deletions regress/percent.sh
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ USERID=`id -u`
HOST=`hostname | cut -f1 -d.`
HOSTNAME=`hostname`
HASH=""
HOME=`echo -n ~`

# Localcommand is evaluated after connection because %T is not available
# until then. Because of this we use a different method of exercising it,
Expand Down

0 comments on commit 2d52c6b

Please sign in to comment.