PreTest's goal is to provide pre-built virtual-machine images of Free-Software POSIX-compliant operating systems, ready for testing autotools-based programs.
miles
with password 12345
with passwordless sudo
(or su
) access.12345
.
# Download a VM image
wget http://files.housegordon.org/pretest/v0.1/freebsd111.build-ready.qcow2.xz
unxz freebsd111.build-ready.qcow2.xz
# Run the VM, serial console will use the current terminal
qemu-system-x86_64 --enable-kvm -m 384 \
-nographic -nodefaults -snapshot \
-net user,hostfwd=tcp:127.0.0.1:1025-:22 \
-net nic,model=virtio \
-serial mon:stdio \
-drive if=virtio,media=disk,index=0,file=freebsd111.build-ready.qcow2
Use the pretest-run.pl script for easier bootstrap of the configured images:
# Download script
wget http://git.savannah.gnu.org/cgit/pretest.git/plain/pretest-run.pl
# Start VM, connect to serial console
./pretest-run.pl --console freebsd111.build-ready.qcow2
# Start VM, connect through SSH
# (when logging off, VM will be automatically shutdown)
./pretest-run.pl freebsd111.build-ready.qcow2
See pretest-run.pl --help
for more options.
sudo
without password.
pretest-run.sh
script
redirects it to to host's port 2222 (or another port with
-p
)
-nographic
and -serial mon:stdio
options.
autoconf,automake,make,libtool,gettext,flex,bison,git,wget,rsync (etc.)
wget http://ftp.gnu.org/gnu/hello/hello-2.9.tar.gz
tar xzf hello-2.9.tar.gz
cd hello-2.9
./configure
make
make check
For detailed setup information and usage examples see the manual.
Debian | 8.1, 7.6 |
Ubuntu | 16.04, 15.04, 14.04 |
gNewSense | 3.1 (~debian 6) |
Trisquel | 7 (~ubuntu 14.04.1 LTS), 6.0.1 (~ubuntu 12.04 LTS) |
CentOS | 7.0, 6.5 |
Fedora | 24, 23, 22, 21, 20 |
OpenSUSE | 42.1 (LEAP), 13.2, 13.1 |
OpenBSD | 6.1, 6.0, 5.9, 5.8, 5.7, 5.6, 5.5 |
FreeBSD | 11-p1, 10.3, 10.1, 10, 9.3 |
NetBSD | 7.1, 7.0, 6.1.4 |
MirBSD | 10 |
DilOS | 1.3.7.18 (Illumous/OpenSolaris kernel with Debian user-space) |
OpenIndiana | 2017-05-02, 2015-03-30 ("Hipster"), 151a8 (Illumus/OpenSolaris system) |
GNU Hurd | 0.7, 0.6, 0.5 (Hurd Kernel with Debian user-space) |
MINIX | R 3.3.0 |
Debian/kFreeBSD | Debian-8/kFreeBSD-10.1, Deb7/kFreeBSD9 (GNU userspace with FreeBSD kernel) |
Alpine Linux | 3.5.2, 3.4.6, 3.3.3 (Linux Kernel + musl-libc + busybox) |
More information can be found in the downloads and Programs and Kernel versions pages.
Maintained by Assaf Gordon.
Home page: http://www.nongnu.org/pretest/
Source code available on Git repository
For bug-reports, suggestions, comments and patches, please send emails to pretest-users[at]nongnu.org .
To subscribe to the mailing list, visit: https://lists.nongnu.org/mailman/listinfo/pretest-users
To view/search past discussions, visit: http://lists.nongnu.org/archive/html/pretest-users
If you spot a non-free software in those pre-build images, please send a bug report to pretest-users[at]nongnu.org.