Alexander Lutay
eaf3b9d030
MT#17213 Update goss to 0.0.22
...
The ip field format has been changed in 0.0.17:
> https://github.com/aelsabbahy/goss/issues/27#issuecomment-167676745
Change-Id: I433712401f330f604ceebe76deb9774409aeeca8
11 years ago
Kirill Solomko
ab729901ab
MT#14675 removed ossbss tests
...
Change-Id: I44209d68c5f12e9370ccb3c103f0717d4f73160b
11 years ago
Alexander Lutay
bdf0d12f07
MT#16755 Add support SKIP_DNS_CHECK_TEST and SKIP_STRICT_HOSTNAME_TEST env variables
...
The Jenkins test 'netinstall-test-ngcp-installer' restores plain Debian VM
and install NGCP using ngcp-installer only.
In this case the test should skip some strict host/names checks.
Change-Id: I9b84784ebed0a54ff51aa2baef274f5466879352
11 years ago
Alexander Lutay
6e97e15355
MT#16429 MT#8041 Disable cores check test until sems is not fixed
...
Change-Id: I669378c196ea5af42a044ca03d78e4841cfa5632
11 years ago
Alexander Lutay
f69756150f
MT#16273 Fix tests after spliting ngcp-panel and REST API
...
Change-Id: Ib71603f5d4d5d8c38c09fa9d53081b078cfbb37b
11 years ago
Alexander Lutay
d29bdbb757
MT#16429 Add goss based sites-ok check
...
Also add new tests to check REST API availability
Change-Id: I4294424d153f9bfdb10804218d01d4aa30dcfc45
11 years ago
Alexander Lutay
ddd3277692
MT#16429 Switch system-tests to goss
...
Change-Id: Ib5d87ac6d3de8e6a43d89423d22b8dcd6fd24871
11 years ago
Victor Seva
14791eda51
MT#14011 fail if no config is found on tests that need it
...
Change-Id: I16ddebd5b3c3559599c1aadf997077746f221538
11 years ago
Michael Prokop
f52f248c1f
MT#485 Improve file filter to ignore only "*.dpkg-{dist,old,new}
...
Checking only for *.tt2 files isn't enough, we also have
*.services + *.postbuild files and want to also catch
any files that don't match our file suffix.
Change-Id: Ia7477ac45b4fc9e1ab3cc0188c35424bffeceedb
11 years ago
Alexander Lutay
da2ed7d479
MT#485 Fix 04_template_files.sh, ignore files '*.dpkg-*', e.g. dpkg-bak/dpkg-old/...
...
Change-Id: I6b89633b3d074ee6de9027be0d6196d0ec7a9d0a
11 years ago
Michael Prokop
f7dc79d966
MT#485 Check for files in /etc/ngcp-config/templates that don't belong to any package
...
Demo run:
| root@spce:~# bash ./04_template_files.sh
| 1..1
| ok 1 - no unpackaged files in /etc/ngcp-config/templates/
| root@spce:~# touch /etc/ngcp-config/templates/foo /etc/ngcp-config/templates/foo2
| root@spce:~# bash ./04_template_files.sh
| 1..2
| not ok 1 - dpkg-query: no path found matching pattern /etc/ngcp-config/templates/foo
| not ok 2 - dpkg-query: no path found matching pattern /etc/ngcp-config/templates/foo2
| root@spce:~# rm /etc/ngcp-config/templates/foo /etc/ngcp-config/templates/foo2
Change-Id: I13a52c8fe84c9d4505220ba28b765ea356cc6363
11 years ago
Victor Seva
d65ac02853
MT#9547 load config from template in order to select tests
...
Change-Id: I15e2bd9fccee87e53609c4c00525bcd2f4974e57
12 years ago
Alexander Lutay
cdf84d77ed
MT#9837 Removed Apache and ossbss deamons since mr3.6+
12 years ago
Alexander Lutay
517ae125ea
MT#9677 Removed old selfcare availability check since mr3.6+
12 years ago
Alexander Lutay
6cd875c668
MT#8041 Disable cores check test until sems is not fixed
12 years ago
Alexander Lutay
08819aaa84
MT#6659 Add check of basic files avialability
12 years ago
Alexander Lutay
101bb7c34b
MT#7349 Rename sems to ngcp-sems in tests
12 years ago
Alexander Lutay
76064bd067
MT#7333 Don't care about windows size, always one line
12 years ago
Alexander Lutay
182a1bd65c
MT#7333 Show list of cores if they exist
12 years ago
Alexander Lutay
1fe5910423
MT#7333 Fixed TAP output for 03_no-cores.sh
12 years ago
Victor Seva
807cb9b720
MT#7333 add support for bash tests. Add no-cores test
12 years ago
Michael Prokop
19f247d5f6
MT#6807 Adjust getty check for usage with systemd
...
Check for getty process without path information and arguments,
because on systemd powered systems we have:
| /sbin/agetty tty1 38400
while sysvinit powered systemd run:
| /sbin/getty 38400 tty1
| /sbin/getty 38400 tty2
| /sbin/getty 38400 tty3
| /sbin/getty 38400 tty4
| /sbin/getty 38400 tty5
| /sbin/getty 38400 tty6
As soon as one "getty" process is available that should be fine enough
for us, no matter whether it's /sbin/agetty or /sbin/getty.
(Of course it would be even better if we'd have regex support
in the tests, but that's not available in upstream code...)
12 years ago
Michael Prokop
48e9ce9c5f
MT#6807 Check for udevd process without "--daemon" args
...
The daemon option doesn't necessarily exist, e.g. when
udev is invoked through systemd.
12 years ago
Alexander Lutay
0b86f03066
MT#6389 Do not check exect tty number (check general avialability)
...
We are not going to check exect tty numer avialability,
otherwise test will failed in case is someone loged in to
this console. Lets check at least some terminal avialability.
12 years ago
Alexander Lutay
61d17a7c18
MT#6389 Renamed mediaproxy-ng to rtpengine
12 years ago
Alexander Lutay
1cf342e100
MT#6389 Update CE list of running processes
12 years ago
Michael Prokop
4c10d8e6a6
Add ngcp-panel logger, getty, udev and prosody processes to process test
13 years ago
Michael Prokop
dabbe0aa62
Make 01_hostname-and-interfaces.t useful on our current CE systems
13 years ago
Michael Prokop
a9d756bd1e
Mark test scripts executables
13 years ago
Michael Prokop
4f435d35dd
Reduce should-run process arguments + quote heartbeat cmdline
...
In failing tests it's hard to parse very long cmdlines, so reduce
it as much as possible and still sensible. Also fix quoting of
the heartbeat command line for YAML format.
13 years ago
Michael Prokop
7a62440f02
Initial checkin
13 years ago