kiilerix avatar kiilerix committed 5965f36

tests: fix unzip -l variability fix

01-01-1980 slipped through the grep.

Comments (0)

Files changed (2)

tests/test-archive

 hg add old
 hg commit -m old
 hg archive ../old.zip
-unzip -l ../old.zip | grep 80 && echo ok
+unzip -l ../old.zip | grep 80 > /dev/null && echo ok
 
 exit 0

tests/test-archive.out

 % empty repo
 abort: no working directory: please specify a revision
 % old file -- date clamped to 1980
-      147  1980-01-01 00:00   old/.hg_archival.txt
-        0  1980-01-01 00:00   old/old
 ok
Tip: Filter by directory path e.g. /media app.js to search for public/media/app.js.
Tip: Use camelCasing e.g. ProjME to search for ProjectModifiedEvent.java.
Tip: Filter by extension type e.g. /repo .js to search for all .js files in the /repo directory.
Tip: Separate your search with spaces e.g. /ssh pom.xml to search for src/ssh/pom.xml.
Tip: Use ↑ and ↓ arrow keys to navigate and return to view the file.
Tip: You can also navigate files with Ctrl+j (next) and Ctrl+k (previous) and view the file with Ctrl+o.
Tip: You can also navigate files with Alt+j (next) and Alt+k (previous) and view the file with Alt+o.