Skip to content

Commit

Permalink
clean
Browse files Browse the repository at this point in the history
  • Loading branch information
mikbras committed Feb 10, 2023
1 parent 7ec1638 commit 927851d
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions tests/sign/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,6 @@ endif
OPTS += --thread-stack-size=1048576

tests: all
$(MAKE) private.pem
$(RUNTEST) $(MYST_EXEC) rootfs /bin/hello $(OPTS)
$(MAKE) sign
$(MAKE) verify
Expand All @@ -37,7 +36,7 @@ tests: all
private.pem:
openssl genrsa -out private.pem -3 3072

sign:
sign: private.pem
$(MYST) fssig --roothash rootfs > roothash
rm -rf hello.signed
$(MYST) sign-sgx rootfs private.pem config.json --roothash=roothash
Expand All @@ -49,7 +48,7 @@ myst:
$(MAKE) -C $(TOP)/tools/myst

clean:
rm -rf $(APPDIR) rootfs export ramfs hello.signed roothash
rm -rf $(APPDIR) rootfs export ramfs hello.signed roothash private.pem

##
## Negative test to verify that hacking rootfs fails loading.
Expand Down

0 comments on commit 927851d

Please sign in to comment.