debian/tests/control:

Create autopkgtest
This commit is contained in:
Daniel Costa
2024-11-24 21:32:24 -03:00
parent c83906446f
commit c6b123e40f
3 changed files with 10 additions and 0 deletions

5
debian/tests/control vendored Normal file
View File

@@ -0,0 +1,5 @@
Test-Command: alien --help 2>&1 | grep "^Usage: alien"
Restrictions: allow-stderr, superficial
Tests: convert_deb_to_rpm.sh
Restrictions: allow-stderr, superficial

5
debian/tests/convert_deb_to_rpm.sh vendored Normal file
View File

@@ -0,0 +1,5 @@
#!/bin/sh
cp debian/tests/data/* $AUTOPKGTEST_TMP
cd $AUTOPKGTEST_TMP
alien --to-rpm *

Binary file not shown.