author | Alberto Bertogli
<albertito@blitiri.com.ar> 2023-08-19 12:25:49 UTC |
committer | Alberto Bertogli
<albertito@blitiri.com.ar> 2023-08-19 12:25:49 UTC |
parent | 4f282bce095d3556561913cdf38217dfd4bf70b4 |
test/basic.t | +7 | -7 |
test/singlefile.t | +1 | -1 |
diff --git a/test/basic.t b/test/basic.t index 57aec88..b28d813 100644 --- a/test/basic.t +++ b/test/basic.t @@ -64,11 +64,11 @@ Check verbose and quiet. $ summer -v verify . "denuevo": missing checksum attribute "empty": match \(checksum:0, mtime:\d+\) (re) - "hola": match \(checksum:\w+, mtime:\d+\) (re) - "nueva": match \(checksum:\w+, mtime:\d+\) (re) + "hola": match \(checksum:916db13f, mtime:\d+\) (re) + "nueva": match \(checksum:91f3a28e, mtime:\d+\) (re) 0s: 3 matched, 0 modified, 1 new, 0 corrupted $ summer -v generate . - "denuevo": writing checksum \(checksum:\w+, mtime:\d+\) (re) + "denuevo": writing checksum \(checksum:0, mtime:\d+\) (re) 0s: 0 matched, 0 modified, 1 new, 0 corrupted $ summer -q verify . $ summer -q generate . @@ -81,14 +81,14 @@ Check that symlinks are ignored. $ ln -s hola thisisasymlink $ summer -v verify . "empty": match \(checksum:0, mtime:\d+\) (re) - "hola": match \(checksum:\w+, mtime:\d+\) (re) - "nueva": match \(checksum:\w+, mtime:\d+\) (re) + "hola": match \(checksum:916db13f, mtime:\d+\) (re) + "nueva": match \(checksum:91f3a28e, mtime:\d+\) (re) 0s: 3 matched, 0 modified, 0 new, 0 corrupted Check that the root path doesn't confuse us. $ summer -v verify $PWD "/.*/empty": match \(checksum:0, mtime:\d+\) (re) - "/.*/hola": match \(checksum:\w+, mtime:\d+\) (re) - "/.*/nueva": match \(checksum:\w+, mtime:\d+\) (re) + "/.*/hola": match \(checksum:916db13f, mtime:\d+\) (re) + "/.*/nueva": match \(checksum:91f3a28e, mtime:\d+\) (re) 0s: 3 matched, 0 modified, 0 new, 0 corrupted diff --git a/test/singlefile.t b/test/singlefile.t index 018b2b3..e9068bc 100644 --- a/test/singlefile.t +++ b/test/singlefile.t @@ -18,6 +18,6 @@ Test that summer works fine when given a file instead of a directory. $ summer -v verify . "empty": match \(checksum:0, mtime:\d+\) (re) - "hola": match \(checksum:\w+, mtime:\d+\) (re) + "hola": match \(checksum:239059f6, mtime:\d+\) (re) 0s: 2 matched, 0 modified, 0 new, 0 corrupted