about summary refs log tree commit diff
diff options
context:
space:
mode:
authorErik Hofmayer <ehofmayer@outlook.de>2023-04-07 19:45:37 +0200
committerErik Hofmayer <ehofmayer@outlook.de>2023-04-16 12:50:32 +0200
commit135e6201fc3dc61bcee1d4186f233570edbbbb8c (patch)
tree3feb3efbc10a0ba7b528752bab6ef61ac0c1bb82
parentd535af36258f81e542d963aac49ed2f9e5323dcd (diff)
downloadrust-135e6201fc3dc61bcee1d4186f233570edbbbb8c.tar.gz
rust-135e6201fc3dc61bcee1d4186f233570edbbbb8c.zip
Add regression test for issue 107094
-rwxr-xr-xtests/run-make/issue-107094/Makefile7
1 files changed, 7 insertions, 0 deletions
diff --git a/tests/run-make/issue-107094/Makefile b/tests/run-make/issue-107094/Makefile
new file mode 100755
index 00000000000..7bbaf31a777
--- /dev/null
+++ b/tests/run-make/issue-107094/Makefile
@@ -0,0 +1,7 @@
+# needs-git-hash
+
+include ../tools.mk
+
+all:
+	$(BARE_RUSTC) --version --verbose | $(CGREP) -i -e "commit-hash: [0-9a-f]{40}" "commit-date: [0-9\-]+"
+	$(BARE_RUSTDOC) --version --verbose | $(CGREP) -i -e "commit-hash: [0-9a-f]{40}" "commit-date: [0-9\-]+"