commit 6574665f9d6c0757e8f55ccb465afbcaa90bf019 Author: Timotej Lazar Date: Wed Aug 19 19:36:02 2020 +0200 test: normalize flags reported by dumpe2fs Filesystem flags depend on the system – usually signed_directory_hash, but unsigned_directory_hash at least on arm64. Signed-off-by: Timotej Lazar diff --git a/test/basic-images.test b/test/basic-images.test index f6685e1..cb104c3 100755 --- a/test/basic-images.test +++ b/test/basic-images.test @@ -158,6 +158,8 @@ check_ext() { # format change csum2="Group 0: (Blocks 1-4095) \\[ITABLE_ZEROED\\]\| Checksum .*, unused inodes 205" dumpe2fs "${1}" | grep -v "^\($uuid\|$seed\|$csum1\|$csum2\)" > "dump" && + # some architectures (including arm64) use unsigned char + sed -i 's/un\(signed_directory_hash\)/\1/' "dump" && # fixup for ext3 journal size with old tune2fs sed -i 's/^\(Journal size: \)1029k$/\11024k/' "dump" && # output format changed with some version aboutsummaryrefslogtreecommitdiff
AgeCommit message (Expand)Author
2020-12-15serialization: 'restore-file' sets canonical timestamp and permissions....* guix/serialization.scm (restore-file): Set the permissions and mtime of FILE. * guix/nar.scm (finalize-store-file): Pass #:reset-timestamps? #f to 'register-items'. * tests/nar.scm (rm-rf): Add 'chmod' calls to ensure files are writable. ("write-file + restore-file with symlinks"): Ensure every file in OUTPUT passes 'canonical-file?'. * tests/guix-archive.sh: Run "chmod -R +w" before "rm -rf". Ludovic Courtès
2020-09-28tests: Simplify shell exit status negation;...* tests/guix-archive.sh, tests/guix-build-branch.sh, tests/guix-build.sh, tests/guix-daemon.sh, tests/guix-download.sh, tests/guix-environment.sh, tests/guix-gc.sh, tests/guix-git-authenticate.sh, tests/guix-graph.sh, tests/guix-hash.sh, tests/guix-lint.sh, tests/guix-pack-relocatable.sh, tests/guix-pack.sh, tests/guix-package-aliases.sh, tests/guix-package-net.sh, tests/guix-package.sh: Use the shell '!' keyword to negate command exit status in place of 'if ...; then false; else true; fi' Eric Bavier