I am developing a generic bash script which could be executed in different distro.
I have only a CentOS virtual machine and I would be interested to test my script on a virtual terminal (online or as a software, without writing access, just able read some standard files from the OS) but like I am running it in a different distro (possibility to switch between distro).
One example is to make a distro detection and I do not know what will be the expected info I will get from other distro.
For example on my VM I get:
$> test.sh Your linux distribution is: CentOS $>
I just do not know what will be the result in RedHat, Ubuntu, Debian, etc...
The code for the test.sh is here.
This idea comes from the front-end development where you have similar tools to test your web pages in different browsers without having all really installed. I know an OS is quite more complex than just a browser, but the question remains after few searches on Google.