TEST: Add a test that building RPMs work

Signed-off-by: Ronnie Sahlberg <ronniesahlberg@gmail.com>
libnfs-4.0.0-vitalif
Ronnie Sahlberg 2017-06-17 12:35:19 -07:00
parent d991f4dcfe
commit b215830532
1 changed files with 16 additions and 0 deletions

16
tests/test_9990_build_rpm.sh Executable file
View File

@ -0,0 +1,16 @@
#!/bin/sh
. ./functions.sh
echo "test we can build libnfs as an rpm"
[ -f "/etc/redhat-release" ] || {
echo "SKIPPED. This is not a red-hat based system"
}
echo -n "try building rpm packages ... "
../packaging/RPM/makerpms.sh >/dev/null 2>&1 || failure
success
exit 0