TT#22505 api test fix for FakeData

the reload of fakedata seems to require a path in the updated format.
Otherwise the command "do $filename" seems to not find the file.

Change-Id: I7751be6eaec2862a1547ee4ab70fb2b86a902f19
changes/88/15988/2
Gerhard Jungwirth 8 years ago
parent 4777aa500b
commit 6c1ff23baf

@ -25,13 +25,13 @@ fi
if [ "${SELECT}" = "stable" ] ; then
echo "Test selection: ${SELECT}"
SELECT=$(echo t/api-rest/api-{all-links,bannedips,bannedusers,billingnetworks,billingprofiles,billingzones,calllists,calls,cert-auth,contracts,customercontacts,customers,lnp,ncoslevels,pbxdevicemodels,peeringgroups,profilepackages,resellers,rewriterules,rewriterulesets,root,soundsets,systemcontacts,threads,topuplogs,valid-patch,vouchers,method-override}.t)
SELECT=$(echo ./t/api-rest/api-{all-links,bannedips,bannedusers,billingnetworks,billingprofiles,billingzones,calllists,calls,cert-auth,contracts,customercontacts,customers,lnp,ncoslevels,pbxdevicemodels,peeringgroups,profilepackages,resellers,rewriterules,rewriterulesets,root,soundsets,systemcontacts,threads,topuplogs,valid-patch,vouchers,method-override}.t)
elif [ "${SELECT}" = "fast" ] ; then
echo "Test selection: ${SELECT}"
SELECT=$(echo t/api-rest/api-{bannedips,bannedusers,billingnetworks,billingzones,calls,cert-auth,cfdestinationsets,ncoslevels,peeringgroups,peeringrules,peeringinboundrules,peeringservers,resellers,rewriterules,root,soundsets,systemcontacts,valid-patch,vouchers,method-override}.t)
SELECT=$(echo ./t/api-rest/api-{bannedips,bannedusers,billingnetworks,billingzones,calls,cert-auth,cfdestinationsets,ncoslevels,peeringgroups,peeringrules,peeringinboundrules,peeringservers,resellers,rewriterules,root,soundsets,systemcontacts,valid-patch,vouchers,method-override}.t)
elif [ "${SELECT}" = "all" ] ; then
echo "Test selection: all"
SELECT=$(echo t/api-rest/*.t)
SELECT=$(echo ./t/api-rest/*.t)
else
echo "Test selection: ${SELECT}"
fi

Loading…
Cancel
Save