[Rpm-maint] [rpm-software-management/rpm] Allow the transaction ID and installation time to be overridden (PR #1803)

Panu Matilainen notifications at github.com
Tue Oct 26 08:38:35 UTC 2021


@pmatilai commented on this pull request.



> @@ -1296,3 +1296,30 @@ rpmtxn rpmtxnEnd(rpmtxn txn)
     }
     return NULL;
 }
+
+#define FAKE_CLOCK_INITIALIZED (1<<0)
+#define FAKE_CLOCK_ACTIVE      (1<<1)
+
+static int _fakeClockState = 0;
+static time_t _fakeClock = -1;

bogoClock would work for me too :grin: 

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/rpm-software-management/rpm/pull/1803#discussion_r736291605
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rpm.org/pipermail/rpm-maint/attachments/20211026/7f0e5092/attachment.html>


More information about the Rpm-maint mailing list