{"id":18522396,"url":"https://github.com/sdelements/bashtester","last_synced_at":"2025-05-14T18:10:46.641Z","repository":{"id":141148027,"uuid":"159355833","full_name":"sdelements/bashtester","owner":"sdelements","description":"A simple docker-compose setup to test bash code on older versions when given a bash file with a `test_${0}` function","archived":false,"fork":false,"pushed_at":"2019-01-03T19:54:55.000Z","size":20,"stargazers_count":0,"open_issues_count":0,"forks_count":1,"subscribers_count":39,"default_branch":"master","last_synced_at":"2025-02-17T05:28:00.450Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Shell","has_issues":false,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/sdelements.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","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}},"created_at":"2018-11-27T15:19:37.000Z","updated_at":"2019-01-03T19:54:57.000Z","dependencies_parsed_at":null,"dependency_job_id":"0b841a57-212f-4bd0-a3b2-c53b4b3be125","html_url":"https://github.com/sdelements/bashtester","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sdelements%2Fbashtester","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sdelements%2Fbashtester/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sdelements%2Fbashtester/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sdelements%2Fbashtester/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/sdelements","download_url":"https://codeload.github.com/sdelements/bashtester/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":254198512,"owners_count":22030966,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","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-06T17:30:41.341Z","updated_at":"2025-05-14T18:10:41.619Z","avatar_url":"https://github.com/sdelements.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"# bashtester\nA simple docker-compose setup to test bash code on all currently supported\nversions.\n\nTypically this would be used as a git submodule and will map it's parent directory as /code\n\n### Usage\n\n```bash\n./run.sh '{command_to_run}'\n```\n\n### Examples\n\n```bash\n./run.sh 'bash --version' 2\u003e /dev/null\nImporting /home/ubuntu/shtdlib/shtdlib.sh\n########## 3.0.22 ##########\nGNU bash, version 3.00.22(1)-release (x86_64-pc-linux-musl)\nCopyright (C) 2004 Free Software Foundation, Inc.\n############################\n########## 3.1.23 ##########\nGNU bash, version 3.1.23(1)-release (x86_64-pc-linux-musl)\nCopyright (C) 2005 Free Software Foundation, Inc.\n############################\n########## 3.2.57 ##########\nGNU bash, version 3.2.57(1)-release (x86_64-pc-linux-musl)\nCopyright (C) 2007 Free Software Foundation, Inc.\n############################\n########## 4.0.44 ##########\nGNU bash, version 4.0.44(1)-release (x86_64-pc-linux-musl)\nCopyright (C) 2009 Free Software Foundation, Inc.\nLicense GPLv3+: GNU GPL version 3 or later \u003chttp://gnu.org/licenses/gpl.html\u003e\n\nThis is free software; you are free to change and redistribute it.\nThere is NO WARRANTY, to the extent permitted by law.\n############################\n########## 4.1.17 ##########\nGNU bash, version 4.1.17(2)-release (x86_64-pc-linux-musl)\nCopyright (C) 2009 Free Software Foundation, Inc.\nLicense GPLv3+: GNU GPL version 3 or later \u003chttp://gnu.org/licenses/gpl.html\u003e\n\nThis is free software; you are free to change and redistribute it.\nThere is NO WARRANTY, to the extent permitted by law.\n############################\n########## 4.2.53 ##########\nGNU bash, version 4.2.53(2)-release (x86_64-pc-linux-musl)\nCopyright (C) 2011 Free Software Foundation, Inc.\nLicense GPLv3+: GNU GPL version 3 or later \u003chttp://gnu.org/licenses/gpl.html\u003e\n\nThis is free software; you are free to change and redistribute it.\nThere is NO WARRANTY, to the extent permitted by law.\n############################\n########## 4.3.48 ##########\nGNU bash, version 4.3.48(1)-release (x86_64-pc-linux-musl)\nCopyright (C) 2013 Free Software Foundation, Inc.\nLicense GPLv3+: GNU GPL version 3 or later \u003chttp://gnu.org/licenses/gpl.html\u003e\n\nThis is free software; you are free to change and redistribute it.\nThere is NO WARRANTY, to the extent permitted by law.\n############################\n########## 4.4.23 ##########\nGNU bash, version 4.4.23(1)-release (x86_64-pc-linux-musl)\nCopyright (C) 2016 Free Software Foundation, Inc.\nLicense GPLv3+: GNU GPL version 3 or later \u003chttp://gnu.org/licenses/gpl.html\u003e\n\nThis is free software; you are free to change and redistribute it.\nThere is NO WARRANTY, to the extent permitted by law.\n############################\n########## 5.0-beta ##########\nGNU bash, version 5.0.0(1)-beta (x86_64-pc-linux-musl)\nCopyright (C) 2018 Free Software Foundation, Inc.\nLicense GPLv3+: GNU GPL version 3 or later \u003chttp://gnu.org/licenses/gpl.html\u003e\n\nThis is free software; you are free to change and redistribute it.\nThere is NO WARRANTY, to the extent permitted by law.\n############################\n```\n\nExample specifying versions: \n```bash\nbash_images=\"3.1.23 4.4.23\" ./run.sh 'bash --version' 2\u003e /dev/null\nImporting /home/ubuntu/shtdlib/shtdlib.sh\n########## 3.1.23 ##########\nGNU bash, version 3.1.23(1)-release (x86_64-pc-linux-musl)\nCopyright (C) 2005 Free Software Foundation, Inc.\n############################\n########## 4.4.23 ##########\nGNU bash, version 4.4.23(1)-release (x86_64-pc-linux-musl)\nCopyright (C) 2016 Free Software Foundation, Inc.\nLicense GPLv3+: GNU GPL version 3 or later \u003chttp://gnu.org/licenses/gpl.html\u003e\n\nThis is free software; you are free to change and redistribute it.\nThere is NO WARRANTY, to the extent permitted by law.\n############################\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsdelements%2Fbashtester","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsdelements%2Fbashtester","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsdelements%2Fbashtester/lists"}