From df14e616b3d497c611edb04d6071b09565f65434 Mon Sep 17 00:00:00 2001 From: Jim Meyering Date: Mon, 1 Aug 2016 09:23:03 -0700 Subject: [PATCH] tests/colors: fix portability problem with touch --date * tests/colors (epoch): Don't use GNU touch's --date=$epoch option. Use the portable -t 197001010000.00. Reported by Assaf Gordon in https://debbugs.gnu.org/24121#8 --- tests/colors | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/tests/colors b/tests/colors index 881ef5a..3ad2206 100755 --- a/tests/colors +++ b/tests/colors @@ -11,7 +11,8 @@ echo a > a echo b > b epoch='1970-01-01 00:00:00' -touch --date="$epoch" a b +touch -t 197001010000.00 a b + e=$(printf '\033') tab=$(printf '\t') -- 2.8.0-rc2