1 import Test
.Cabal
.Prelude
5 skip
"Flaky test failing in `curl`, see #9530"
9 testBody
= withRemoteRepo
"repo" $ do
11 -- The _first_ update call causes a warning about missing mirrors, the warning
12 -- is platform-dependent and it's not part of the test expectations, so we
13 -- check the output manually.
14 res
<- recordMode DoNotRecord
$
15 cabal
' "update" ["repository.localhost,2022-01-28T02:36:41Z"]
16 assertOutputContains
"The index-state is set to 2022-01-28T02:36:41Z" res
17 assertOutputDoesNotContain
"revert" res
18 cabal
"update" ["repository.localhost,2016-09-24T17:47:48Z"]
19 cabal
"update" ["repository.localhost,2022-01-28T02:36:41Z"]