1
0
mirror of https://github.com/deadc0de6/dotdrop.git synced 2026-02-04 19:09:44 +00:00

fix order test with epoch

This commit is contained in:
deadc0de6
2020-11-18 15:37:41 +01:00
parent 578fb86466
commit c7671165c3

View File

@@ -116,9 +116,9 @@ for ((i=0;i<${attempts};i++)); do
echo "second timestamp: `stat -c %y ${tmpd}/second`"
echo "third timestamp: `stat -c %y ${tmpd}/third`"
ts_first=`date "+%S%N" -d "$(stat -c %y ${tmpd}/first)"`
ts_second=`date "+%S%N" -d "$(stat -c %y ${tmpd}/second)"`
ts_third=`date "+%S%N" -d "$(stat -c %y ${tmpd}/third)"`
ts_first=`date "+%s" -d "$(stat -c %y ${tmpd}/first)"`
ts_second=`date "+%s" -d "$(stat -c %y ${tmpd}/second)"`
ts_third=`date "+%s" -d "$(stat -c %y ${tmpd}/third)"`
#echo "first ts: ${ts_first}"
#echo "second ts: ${ts_second}"