# HG changeset patch # User Pierre-Yves David # Date 1558329076 -7200 # Node ID 624080e8bd9f523b8f14c3751687aeca3060e4a3 # Parent f352ed7dfab7d6fef3f802de63811b82c56530d9 test: properly gate a zstd section This part of the test can't run if zstd is not available. This was caught by --pure test (who don't support zstd). diff -r f352ed7dfab7 -r 624080e8bd9f tests/test-repo-compengines.t --- a/tests/test-repo-compengines.t Mon May 20 07:11:06 2019 +0200 +++ b/tests/test-repo-compengines.t Mon May 20 07:11:16 2019 +0200 @@ -139,6 +139,8 @@ abort: invalid value for `storage.revlog.zlib.level` config: 42 [255] +#if zstd + checking zstd options ===================== @@ -194,3 +196,4 @@ abort: invalid value for `storage.revlog.zstd.level` config: 42 [255] +#endif