Commit 7ff8aed
committed
WIP: Fix TestTransportParseReference on macOS
Originally, when the test was written, an empty runRoot or graphRoot
was rejected by storage.GetStore.
That changed in ce62453 , when
GetStore started accepting inputs with at least one of runRoot / graphRoot
set, using the default path for the unspecified one.
The test continued to work because the default value, on macOS,
was /run/..., and an attempt to create that directory failed.
The recent c/storage configuration redesign changed the defaults,
and they are now a temporary runtime dir in $TMPDIR.
So, update the test to match. Explicitly specify the graph driver
to avoid interfering with other local storage.
Signed-off-by: Miloslav Trmač <mitr@redhat.com>1 parent 380549a commit 7ff8aed
1 file changed
Lines changed: 10 additions & 10 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
100 | 100 | | |
101 | 101 | | |
102 | 102 | | |
103 | | - | |
104 | | - | |
105 | | - | |
106 | | - | |
107 | | - | |
108 | | - | |
109 | | - | |
110 | | - | |
111 | | - | |
112 | | - | |
| 103 | + | |
| 104 | + | |
| 105 | + | |
| 106 | + | |
| 107 | + | |
| 108 | + | |
| 109 | + | |
| 110 | + | |
| 111 | + | |
| 112 | + | |
113 | 113 | | |
114 | 114 | | |
115 | 115 | | |
| |||
0 commit comments