Project

General

Profile

Bug #16698

run_test_suite: --tmpdir not honored in libvirt storage directory

Added by segfault 6 months ago. Updated 6 months ago.

Status:
Confirmed
Priority:
Normal
Assignee:
-
Category:
Test suite
Target version:
-
Start date:
Due date:
% Done:

0%

Feature Branch:
Type of work:
Code
Blueprint:
Starter:
Affected tool:

Description

When running run_test_suite --tmpdir ~/foo, the libvirt storage is still set up with /tmp/TailsToaster/TailsToasterStorage, which is not created, so it fails with

Call to virStoragePoolCreate failed: cannot open directory '/tmp/TailsToaster/TailsToasterStorage': No such file or directory (Guestfs::Error)

According to kibi, setting $TMPDIR instead should work.

History

#1 Updated by intrigeri 6 months ago

  • Category set to Test suite

Maybe --tmpdir and $TMPDIR should yield 100% identical behavior? I see that --tmpdir already defaults to $TMPDIR if that one is set.

Also available in: Atom PDF