提交 a45fa800 编写于 作者: D Daniel P. Berrangé

build: drop the mktempd gnulib module

The mktempd module in gnulib provides an equivalent to 'mktemp -d' on
platforms which lack this shell command. All platforms on which libvirt
runs the affected tests have 'mktemp -d' support, so the gnulib module
is not required.
Reviewed-by: NJán Tomko <jtomko@redhat.com>
Signed-off-by: NDaniel P. Berrangé <berrange@redhat.com>
上级 a88cfcf6
...@@ -71,7 +71,6 @@ mgetgroups ...@@ -71,7 +71,6 @@ mgetgroups
mkdtemp mkdtemp
mkostemp mkostemp
mkostemps mkostemps
mktempd
net_if net_if
netdb netdb
nonblocking nonblocking
......
...@@ -256,8 +256,7 @@ fi ...@@ -256,8 +256,7 @@ fi
# a partition, or to undo any other global state changes. # a partition, or to undo any other global state changes.
cleanup_() { :; } cleanup_() { :; }
mktempd="$abs_top_srcdir/build-aux/mktempd" t_=$("mktemp" "-d" "$test_dir_/lv-$this_test.XXXXXXXXXX") \
t_=$("$SHELL" "$mktempd" "$test_dir_" lv-$this_test.XXXXXXXXXX) \
|| error_ "failed to create temporary directory in $test_dir_" || error_ "failed to create temporary directory in $test_dir_"
# Run each test from within a temporary sub-directory named after the # Run each test from within a temporary sub-directory named after the
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册