You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
14 lines
217 B
14 lines
217 B
10 months ago
|
#!/bin/sh
|
||
|
# Author: Athmane Madjoudj <athmanem@gmail.com>
|
||
|
|
||
|
t_Log "Running $0 - tmpwatch test."
|
||
|
|
||
|
# create a junk file
|
||
|
touch -t '200001010000' /tmp/tf_test
|
||
|
|
||
|
tmpwatch 24 /tmp
|
||
|
|
||
|
[ ! -f /tmp/tf_test ]
|
||
|
|
||
|
t_CheckExitStatus $?
|