Re: [LTP] How to run only a specific test series like for example IPC?

chrubis
2013-06-25T13:30:18Z

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.