TEST: Add a test that building RPMs work
Signed-off-by: Ronnie Sahlberg <ronniesahlberg@gmail.com>libnfs-4.0.0-vitalif
parent
d991f4dcfe
commit
b215830532
|
@ -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
|
Loading…
Reference in New Issue