{"id":20874653,"url":"https://github.com/neomutt/test-rigs","last_synced_at":"2026-04-25T10:35:51.386Z","repository":{"id":161817563,"uuid":"636451892","full_name":"neomutt/test-rigs","owner":"neomutt","description":"Test Code - Not suitable for general use","archived":false,"fork":false,"pushed_at":"2024-09-26T12:27:26.000Z","size":30,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"main","last_synced_at":"2025-12-26T21:55:48.080Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"C","has_issues":false,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/neomutt.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null},"funding":{"github":"flatcap","patreon":"neomutt","liberapay":"flatcap","custom":"paypal.me/russon"}},"created_at":"2023-05-04T22:04:37.000Z","updated_at":"2024-09-26T12:27:29.000Z","dependencies_parsed_at":null,"dependency_job_id":"659a0e4e-7e29-47b8-8a35-3783cc5b1e5f","html_url":"https://github.com/neomutt/test-rigs","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/neomutt/test-rigs","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/neomutt%2Ftest-rigs","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/neomutt%2Ftest-rigs/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/neomutt%2Ftest-rigs/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/neomutt%2Ftest-rigs/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/neomutt","download_url":"https://codeload.github.com/neomutt/test-rigs/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/neomutt%2Ftest-rigs/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32259472,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-25T09:15:33.318Z","status":"ssl_error","status_checked_at":"2026-04-25T09:15:31.997Z","response_time":59,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-11-18T06:35:29.874Z","updated_at":"2026-04-25T10:35:51.363Z","avatar_url":"https://github.com/neomutt.png","language":"C","funding_links":["https://github.com/sponsors/flatcap","https://patreon.com/neomutt","https://liberapay.com/flatcap","paypal.me/russon"],"categories":[],"sub_categories":[],"readme":"# Test Rigs\n\nNeoMutt comes with a set of [unit tests](https://github.com/neomutt/neomutt-test-files)\nthat test individual functions.\n\nSometimes, though, it's helpful to test the behaviour of large blocks of code.\nThis repo contains three programs to do just that.\n\nThey were useful once; they may not be useful again :-)\n\nFor each of them, first build NeoMutt, then compile the program in the NeoMutt\nsource dir.\n\n## ANSI\n\nTest the ANSI escape sequence parsing: `ansi_color_parse()`\n\n**Build:**\n```sh\ngcc -Wall -ggdb3 -O0 -I. -o test-ansi{,.c} libcolor.a libconfig.a libmutt.a -lpcre2-8 -lncursesw\n```\n\n**Run**:\n```sh\n./test-ansi SEQUENCE\n```\n\n## Header Cache packing\n\nTest packing and unpacking flag members from `struct Email` and `struct Body`.\n\n**Build**:\n```sh\ngcc -ggdb3 -O0 -I. -o hcache-packing{,.c}\n```\n\n**Run**:\n```sh\n./test-maildir MAILDIR\n```\n\n## Maildir\n\nOpen and parse a Maildir mailbox\n\n**Build**:\n```sh\ngcc -ggdb3 -O0 -I. -o test-maildir{,.c} libmaildir.a libhcache.a libemail.a libaddress.a libcore.a libconfig.a libmutt.a -lidn2 -lpcre2-8\n```\n\n**Run**:\n```sh\n./test-maildir MAILDIR\n```\n\n## Menu\n\nTest the Menu code (work in progress)\n\n**Build**:\n```sh\ngcc -Wall -ggdb3 -O0 -I. -o test-menu{,.c} libmenu.a libcore.a libemail.a libconfig.a libaddress.a libmutt.a -lidn2\n```\n\n**Run**:\n```sh\n./test-menu\n```\n\n## Msgset\n\nTest the IMAP message set\n\n**Build**:\n```sh\ngcc -Wall -ggdb3 -O0 -I. -o test-msgset{,.c} libcore.a libimap.a libemail.a libaddress.a libconfig.a libmutt.a -lidn2 -lpcre2-8\n```\n\n**Run**:\n```sh\n./test-msgset [RANDOM-SEED]\n```\n\n## MX Alloc Memory\n\nTest `mx_alloc_memory()`, which allocates space in the `Mailbox` for `emails` and `v2r`.\n\n**Build**:\n```sh\ngcc -Wall -ggdb3 -O0 -I. -o test-mx-alloc{,.c} libcore.a libemail.a libaddress.a libconfig.a libmutt.a -lpcre2-8 -lidn2\n```\n\n**Run**:\n```sh\n./test-mx-alloc SIZE1 SIZE2\n```\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fneomutt%2Ftest-rigs","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fneomutt%2Ftest-rigs","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fneomutt%2Ftest-rigs/lists"}