From mboxrd@z Thu Jan 1 00:00:00 1970 From: Jeff Garzik Subject: a boto-works test for tabled? Date: Fri, 18 Dec 2009 05:14:18 -0500 Message-ID: <4B2B55FA.2070109@garzik.org> Mime-Version: 1.0 Content-Transfer-Encoding: 7bit Return-path: DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:sender:message-id:date:from :user-agent:mime-version:to:cc:subject:content-type :content-transfer-encoding; bh=5qJIW32YTts8fU6Lyb0TF9ConQt+HV4R9RDOjohd8ZI=; b=eu+UXv3mfqlmMxB6uZWlz0e0UAqWfi/TZE471KHjY6sElOJjq/S1TK2QPEoWlxfSQx UAp6VFyuKh1NvEBLFRdGSjEMtv3R/XLl6XZ8e21RRZY5vrJk5C0JMQFkvXNjzQt6AMKt igaJV51IslUPm9SwCSq4CkiawXQ0vArXR7qqs= Sender: hail-devel-owner@vger.kernel.org List-ID: Content-Type: text/plain; charset="us-ascii"; format="flowed" To: Project Hail Cc: jdarcy@redhat.com Looking at the 'python-boto' package in Fedora, I see it ships with boto's basic test suite. Notably, it ships with a test module that exercises boto's S3 library routines. Is there anyone that would be interested in copying (or directly use) /usr/lib/python2.6/site-packages/boto/tests/test_s3connection.py as a tabled "boto-works" test? According to the boto author, boto should accept non-Amazon hostnames, which is the only requirement outside of Amazon AWS specifications that tabled has. I am bloody awful at python, really don't know it well at all. But to anyone who knows python, this will probably take all of an hour, from start to "make distcheck". All anyone needs to do is create a python script 'test/boto-works' for tabled, which does exit(0) on success and exit(1) upon test failure. "make check" or "make distcheck" initiate tabled's testsuite. This would add a python-boto BuildRequires in tabled's rpm build, but I don't think that is a major issue. Jeff