Bug #16698

run_test_suite: --tmpdir not honored in libvirt storage directory

Added by segfault 2019-05-05 18:45:46 . Updated 2019-05-05 19:45:52 .

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:
Deliverable for:

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.


Subtasks


History

#1 Updated by intrigeri 2019-05-05 19:45:52

  • 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.