Information about the package, perl-Test-MockTime, which is shipped with common Linux distributions. The perl-Test-MockTime package is designed for, Replaces actual time with simulated time.
Package Name:
perl-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.
Architecture:
noarch
Version:
0.12
Release:
2.el6
Size:
11 k
Repository:
epel
From Repository:
Licence:
GPL+ or Artistic
Control the perl-Test-MockTime package with the following handy commands outlined below.
yum install perl-Test-MockTime
This command will install perl-Test-MockTime on the server.
yum remove perl-Test-MockTime
This command will un-install perl-Test-MockTime on the server. When you run this command, you will be asked if you are sure that you want to remove perl-Test-MockTime, so you have to manually confirm that you want to do this.
yum -y remove perl-Test-MockTime
This command will un-install perl-Test-MockTime on the server. When you run this command with th e -y flag, you will not be prompted to check that you are sure you want to remove the package - so be sure you absolutely want to remove perl-Test-MockTime when using the -y flag.
yum update perl-Test-MockTime
This command will update perl-Test-MockTime to the latest version. When you run this command, you will be asked if you are sure that you want to remove perl-Test-MockTime, so you have to manually confirm that you want to do this.
yum -y update perl-Test-MockTime
This command will update perl-Test-MockTime to the latest version. When you run this command with the -y flag, you will not be prompted to check that you are sure you want to remove the package - so be sure you absolutely want to remove perl-Test-MockTime when using the -y flag.
yum info perl-Test-MockTime
This command will show you core information about the perl-Test-MockTime package.
yum deplist perl-Test-MockTime
This command will show you the dependencies for perl-Test-MockTime. Thankfully, when using Yum, if dependencies are required, these are also installed at the same time so you don't have to worry too much about that.
yum check-update perl-Test-MockTime
This command will check if there is an update waiting on perl-Test-MockTime. When you run this command this will return nothing if there is nothing to update, or, will return the package name if the package is due to be updated.