Re: [PATCH v1] selftest/trustedkeys: TPM 1.2 trusted keys test

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Tue, Oct 29, 2019 at 01:45:35PM +0200, Jarkko Sakkinen wrote:
> On Tue, Oct 29, 2019 at 11:25:16AM +0200, Jarkko Sakkinen wrote:
> > I'll anyway try to setup user space with TrouSerS so that I can try
> > it out. BuildRoot has recipe for that but not for IBM TSS 2.0 so I'll
> > skip that and use my own test script for TPM2 trusted keys.
> 
> Busybox version of mktemp gives this error message:
> 
>   mktemp: Invalid argument
> 
> I get that three times.
> 
> Then I get non-existent directory error from line 65 but it is probably
> consequence of the previous errors.
> 
> This the help for mktemp:
> 
> "
> Usage: mktemp [-dt] [-p DIR] [TEMPLATE]
> 
> Create a temporary file with name based on TEMPLATE and print its name.
> TEMPLATE must end with XXXXXX (e.g. [/dir/]nameXXXXXX).
> Without TEMPLATE, -t tmp.XXXXXX is assumed.
> 
> 	-d	Make directory, not file
> 	-q	Fail silently on errors
> 	-t	Prepend base directory name to TEMPLATE
> 	-p DIR	Use DIR as a base directory (implies -t)
> 	-u	Do not create anything; print a name
> 
> Base directory is: -p DIR, else $TMPDIR, else /tmp
> "
> 
> Use total six X's seems to fix the problem.

OK, I fixes that issue and then I end up with:

  [INFO] add_key: No such device

Anyway, got further.

/Jarkko



[Index of Archives]     [Linux Wireless]     [Linux Kernel]     [ATH6KL]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [Share Photos]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Samba]     [Device Mapper]

  Powered by Linux