Skip to content

Commit

Permalink
test-oseid.sh use restart-pcscd.sh
Browse files Browse the repository at this point in the history
Added github/restart-pcscd.sh
 On branch X25519-improvements-2
 Changes to be committed:
	modified:   test-oseid.sh
  • Loading branch information
dengert committed Mar 23, 2024
1 parent 4978cd3 commit e8f1dd1
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/test-oseid.sh
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,9 @@ sudo mv tmp/reader.conf /etc/reader.conf.d/reader.conf
cat /etc/reader.conf.d/reader.conf
popd

sudo /etc/init.d/pcscd restart
# prepare pcscd
. .github/restart-pcscd.sh


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

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

0 comments on commit e8f1dd1

Please sign in to comment.