aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorGravatar Klaus Aehlig <aehlig@google.com>2016-12-21 12:22:28 +0000
committerGravatar Klaus Aehlig <aehlig@google.com>2016-12-21 12:59:38 +0000
commit25a8c8e9175cc4f7104a1a82f63ab4b8b089b1bd (patch)
treea87ea162b410a2bdce3a0e63f097254aca4ee7af
parent108a6d5194fd0ac69eac7dceb9b7c3c8108e2180 (diff)
Fix GNUism in the use of touch
The --date long option is a GNU extension of the touch(1) tool. Replace by the equivalent standard option, to have the test not break on other systems, like darwin. -- Change-Id: I73d935a82d20d7c3a0308aedaa5faf76bf0d206c Reviewed-on: https://cr.bazel.build/8040 PiperOrigin-RevId: 142651354 MOS_MIGRATED_REVID=142651354
-rwxr-xr-xsrc/test/shell/bazel/external_integration_test.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/test/shell/bazel/external_integration_test.sh b/src/test/shell/bazel/external_integration_test.sh
index ee43c7cf2b..4392fe973c 100755
--- a/src/test/shell/bazel/external_integration_test.sh
+++ b/src/test/shell/bazel/external_integration_test.sh
@@ -104,7 +104,7 @@ EOF
echo $what_does_the_fox_say
EOF
chmod +x fox/male
- touch --date=@1078100502 fox/male
+ touch -t 200403010021.42 fox/male
ln -s male fox/male_relative
ln -s /fox/male fox/male_absolute
# Add some padding to the .zip to test that Bazel's download logic can