Hi!
> # LC_ALL=C ls -l /tmp/ltp-* /tmp/ltp-*/mnt_pnt.* /tmp/ltp-*/*.img
> ls: cannot access /tmp/ltp-*: No such file or directory
> ls: cannot access /tmp/ltp-*/mnt_pnt.*: No such file or directory
> ls: cannot access /tmp/ltp-*/*.img: No such file or directory
> 
> # egrep -nr -i 'xxx|mnt_pnt' runltp
> 506:    export TMPTEMPLATE="${TMPBASE}/ltp-XXXXXXXXXX"
> 706:        mnt_pnt=`mktemp -d "${TMP}/mnt_pnt.XXXXXX"`
> 708:            mount -t $DEVICE_FS_TYPE $DEVICE $mnt_pnt
> 710:            mount $DEVICE $mnt_pnt
> 728:        rm -rf $mnt_pnt
> 984:mkdir -p "${TMP}/mnt_pnt.XXXXXX"
> 
> Are those directories created before usage?

Yes, for each test that needs to work with files a directory is created
before the test is started and removed at test exit.

-- 
Cyril Hrubis
[email protected]

------------------------------------------------------------------------------
This SF.net email is sponsored by Windows:

Build for Windows Store.

http://p.sf.net/sfu/windows-dev2dev
_______________________________________________
Ltp-list mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/ltp-list

Reply via email to