Skip to content

Commit 365e899

Browse files
committed
fix for sleep 2
1 parent be3e115 commit 365e899

File tree

1 file changed

+10
-10
lines changed

1 file changed

+10
-10
lines changed

.github/workflows/tpm-ssh.yml

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,15 @@ jobs:
3737
libcmocka-dev libssl-dev uthash-dev libglib2.0-dev \
3838
tpm2-tools openssh-client
3939
40+
# Clone, build, and start TPM Simulator
41+
- name: Clone and Build TPM Simulator
42+
run: |
43+
git clone https://github.com/kgoldman/ibmswtpm2
44+
cd ibmswtpm2/src
45+
make
46+
./tpm_server
47+
cd ../..
48+
4049
# Build and install wolfSSL
4150
- name: Build wolfSSL
4251
run: |
@@ -70,15 +79,6 @@ jobs:
7079
sudo ldconfig
7180
cd ..
7281
73-
# Clone, build, and start TPM Simulator
74-
- name: Clone and Build TPM Simulator
75-
run: |
76-
git clone https://github.com/kgoldman/ibmswtpm2
77-
cd ibmswtpm2/src
78-
make
79-
./tpm_server & sleep 2
80-
cd ../..
81-
8282
# Test TPM SSH Default Password
8383
- name: Test TPM SSH Default Password
8484
run: |
@@ -106,7 +106,7 @@ jobs:
106106
pkill -f tpm_server
107107
sleep 2
108108
cd ibmswtpm2/src
109-
./tpm_server & sleep 2
109+
./tpm_server
110110
cd ../..
111111
112112
# Test the TPM SSH Custom Password

0 commit comments

Comments
 (0)