Source: bareos Version: 14.2.1+20141017gitc6c5b56-4 Severity: wishlist Tags: patch
Hi, Upstream provides some basic tests in test/all. It would be nice to run them as autopkgtests. I'm attaching a patch that adds the autopkgtests. Cheers, Felix
diff -Nru bareos-14.2.1+20141017gitc6c5b56/debian/tests/control bareos-14.2.1+20141017gitc6c5b56/debian/tests/control --- bareos-14.2.1+20141017gitc6c5b56/debian/tests/control 1970-01-01 01:00:00.000000000 +0100 +++ bareos-14.2.1+20141017gitc6c5b56/debian/tests/control 2015-06-13 00:59:28.000000000 +0200 @@ -0,0 +1,11 @@ +Test-Command: sudo -u postgres createuser -s root && test/all +Restrictions: needs-root allow-stderr +Depends: postgresql, sudo, bareos-database-postgresql, bareos + +Test-Command: test/all +Restrictions: needs-root allow-stderr +Depends: mysql-server, bareos-database-mysql, bareos + +Test-Command: test/all +Restrictions: needs-root allow-stderr +Depends: bareos-database-sqlite3, bareos