Skip to content

Commit 8de0f31

Browse files
committed
test-oseid.sh use restart-pcscd.sh
Added github/restart-pcscd.sh On branch X25519-improvements-2 Changes to be committed: modified: test-oseid.sh
1 parent a470123 commit 8de0f31

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

.github/test-oseid.sh

+3-3
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,9 @@ sudo mv tmp/reader.conf /etc/reader.conf.d/reader.conf
2828
cat /etc/reader.conf.d/reader.conf
2929
popd
3030

31-
sudo /etc/init.d/pcscd restart
31+
# prepare pcscd
32+
. .github/restart-pcscd.sh
33+
3234

3335
# Needed for tput to not report warnings
3436
export TERM=xterm-256color
@@ -65,7 +67,5 @@ $VALGRIND ./p11test -s 0 -p 11111111 -o oseid.json
6567
diff -u3 oseid_ref.json oseid.json
6668
popd
6769

68-
# cleanup -- this would break later uses of pcscd
69-
kill -9 $PID
7070
rm oseid/src/card_mem
7171
sudo rm /etc/reader.conf.d/reader.conf

0 commit comments

Comments
 (0)