test: use $_z40 from test-lib
[gitweb.git] / t / test-lib.sh
index 830e5e7360350a424a2fe6016a03c913209f7557..7afa25fa835f4f5b0e1a18e3cf110296ea8ce948 100644 (file)
@@ -97,6 +97,9 @@ esac
 _x05='[0-9a-f][0-9a-f][0-9a-f][0-9a-f][0-9a-f]'
 _x40="$_x05$_x05$_x05$_x05$_x05$_x05$_x05$_x05"
 
+# Zero SHA-1
+_z40=0000000000000000000000000000000000000000
+
 # Each test should start with something like this, after copyright notices:
 #
 # test_description='Description of this test...