How to Install and Uninstall perl-Test-MockTime Package on openSuSE Tumbleweed

Last updated: November 14,2024

1. Install "perl-Test-MockTime" package

Please follow the guidance below to install perl-Test-MockTime on openSuSE Tumbleweed

$ sudo zypper refresh $ sudo zypper install perl-Test-MockTime

2. Uninstall "perl-Test-MockTime" package

Please follow the step by step instructions below to uninstall perl-Test-MockTime on openSuSE Tumbleweed:

$ sudo zypper remove perl-Test-MockTime

3. Information about the perl-Test-MockTime package on openSuSE Tumbleweed

Information for package perl-Test-MockTime:
-------------------------------------------
Repository : openSUSE-Tumbleweed-Oss
Name : perl-Test-MockTime
Version : 0.17-1.24
Arch : noarch
Vendor : openSUSE
Installed Size : 15.4 KiB
Installed : No
Status : not installed
Source package : perl-Test-MockTime-0.17-1.24.src
Upstream URL : http://search.cpan.org/dist/Test-MockTime/
Summary : Replaces actual time with simulated time
Description :
This module was created to enable test suites to test code at specific
points in time. Specifically it overrides localtime, gmtime and time at
compile time and then relies on the user supplying a mock time via
set_relative_time, set_absolute_time or set_fixed_time to alter future
calls to gmtime,time or localtime.