From: adilger Date: Mon, 25 Aug 2003 23:09:20 +0000 (+0000) Subject: Script to set MDS, OST, client to wildly different dates for mtime testing. X-Git-Tag: v1_7_0_51~2^7~632 X-Git-Url: https://git.whamcloud.com/?a=commitdiff_plain;h=dcb67f4be523c1f82dcc7287860a7c93ff2c4cc1;p=fs%2Flustre-release.git Script to set MDS, OST, client to wildly different dates for mtime testing. Then, dates in the filesystem that are 1973 are MDS, 1976 are OST, and those in Aug (1979) are the client. These also conveniently appear as ~101010101, ~202020202, and ~303030303 in unix time format (seconds since epoch). --- diff --git a/lustre/tests/set_dates.sh b/lustre/tests/set_dates.sh new file mode 100644 index 0000000..b2a9979 --- /dev/null +++ b/lustre/tests/set_dates.sh @@ -0,0 +1,4 @@ +#!/bin/sh +[ `hostname` = "uml1" ] && date --set="Mar 14 20:21:41 MDT 1973" #101010101 +[ `hostname` = "uml2" ] && date --set="May 26 22:43:22 MDT 1976" #202020202 +[ `hostname` = "uml3" ] && date --set="Aug 9 01:05:03 MDT 1979" #303030303