This is an automated email from the ASF dual-hosted git repository.
sebb pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/whimsy.git
The following commit(s) were added to refs/heads/master by this push:
new eae188d2 Add date to test output
eae188d2 is described below
commit eae188d211187ffb45f30461b13bd99973bb6544
Author: Sebb <[email protected]>
AuthorDate: Fri Dec 19 17:52:19 2025 +0000
Add date to test output
---
www/committers/test.cgi | 1 +
www/test.cgi | 2 ++
2 files changed, 3 insertions(+)
diff --git a/www/committers/test.cgi b/www/committers/test.cgi
index 9cbf9f3c..9fd9ddc4 100755
--- a/www/committers/test.cgi
+++ b/www/committers/test.cgi
@@ -36,6 +36,7 @@ end
query = ENV['QUERY_STRING'] || ARGV[0]
if query and not query.empty? and ENV['SCRIPT_URL'] == '/committers/test.cgi'
print "\n"
+ puts_system('date')
puts_system('id')
puts_system('whoami')
puts_system('which', '-a', 'svn')
diff --git a/www/test.cgi b/www/test.cgi
index 5b11977c..07da749a 100755
--- a/www/test.cgi
+++ b/www/test.cgi
@@ -3,3 +3,5 @@
print "Content-type: text/plain; charset=UTF-8\r\n\r\n"
puts "Hello"
+system('date')
+puts "Bye"