Skip to content

Commit 99694f3

Browse files
committed
lib/tests/ltp.sh: use --tmp-dir instead of --env TMPDIR for kirk
The ltp kirk command has dropped support for the `--env` option, and instead natively provides a `--tmp-dir` option to specify the temporary directory path. Fix the `unrecognized arguments: --env TMPDIR=...` error. Signed-off-by: Philip Li <philip.li@intel.com>
1 parent 06fa4b4 commit 99694f3

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

lib/tests/ltp.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@ specify_tmpdir()
7777
mount_point=/fs/$(basename $ltp_partition)
7878

7979
mkdir -p $mount_point/tmpdir || return
80-
tmpdir_opt="--env TMPDIR=$mount_point/tmpdir"
80+
tmpdir_opt="--tmp-dir $mount_point/tmpdir"
8181

8282
return 0
8383
}

0 commit comments

Comments
 (0)