From aa7e52abff64c4211b65e4092d17a35b9cccf36e Mon Sep 17 00:00:00 2001
From: Will Dietz <w@wdtz.org>
Date: Fri, 14 Dec 2018 22:37:20 -0600
Subject: tests/fetchurl: fix after changing default hash from 512 to 256

---
 tests/fetchurl.sh | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/tests/fetchurl.sh b/tests/fetchurl.sh
index d51d081f5e3b..ec3399b08d00 100644
--- a/tests/fetchurl.sh
+++ b/tests/fetchurl.sh
@@ -23,7 +23,7 @@ clearStore
 
 hash=$(nix hash-file ./fetchurl.sh)
 
-[[ $hash =~ ^sha512- ]]
+[[ $hash =~ ^sha256- ]]
 
 outPath=$(nix-build '<nix/fetchurl.nix>' --argstr url file://$(pwd)/fetchurl.sh --argstr hash $hash --no-out-link --hashed-mirrors '')
 
-- 
cgit 1.4.1