summaryrefslogtreecommitdiff
path: root/examples
diff options
context:
space:
mode:
authorErik de Castro Lopo <erikd@mega-nerd.com>2008-08-24 20:34:02 +1000
committerErik de Castro Lopo <erikd@mega-nerd.com>2008-08-24 20:34:02 +1000
commitc3e9c10119f8eb83bc104a24e81cfa11464240eb (patch)
tree0f9c96b2713fd3497eb94a21afc8f19b9ccf4af4 /examples
parent2c4dd4a8e7b820d12ea2281d5f4f5f81d892aea8 (diff)
Tweaks.
Diffstat (limited to 'examples')
-rwxr-xr-xexamples/test-sndfile-metadata-set.py (renamed from examples/test-sndfile-bwf-set.py)14
1 files changed, 7 insertions, 7 deletions
diff --git a/examples/test-sndfile-bwf-set.py b/examples/test-sndfile-metadata-set.py
index 85b1a59..c489b01 100755
--- a/examples/test-sndfile-bwf-set.py
+++ b/examples/test-sndfile-metadata-set.py
@@ -30,7 +30,7 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
-# Simple test script for the sndfile-metadeta-set program.
+# Simple test script for the sndfile-metadata-set program.
import commands, os, sys
import time, datetime
@@ -39,7 +39,7 @@ def print_test_name (name):
print " %-30s :" % name,
def assert_info (filename, arg, value):
- cmd = "./sndfile-metadeta-get %s %s" % (arg, filename)
+ cmd = "./sndfile-metadata-get %s %s" % (arg, filename)
status, output = commands.getstatusoutput (cmd)
if status:
print "\n\nError : command '%s' should not have failed." % cmd
@@ -58,7 +58,7 @@ def check_executable (name):
def test_empty_fail ():
print_test_name ("Empty fail test")
- cmd = "./sndfile-metadeta-set --description Alpha sine.wav"
+ cmd = "./sndfile-metadata-set --description Alpha sine.wav"
status, output = commands.getstatusoutput (cmd)
if not status:
print "\n\nError : command '%s' should have failed." % cmd
@@ -66,7 +66,7 @@ def test_empty_fail ():
def test_copy ():
print_test_name ("Copy test")
- cmd = "./sndfile-metadeta-set --description \"First Try\" sine.wav output.wav"
+ cmd = "./sndfile-metadata-set --description \"First Try\" sine.wav output.wav"
status, output = commands.getstatusoutput (cmd)
if status:
print "\n\nError : command '%s' should not have failed." % cmd
@@ -76,7 +76,7 @@ def test_copy ():
def test_update (tests):
print_test_name ("Update test")
for arg, value in tests:
- cmd = "./sndfile-metadeta-set %s \"%s\" output.wav" % (arg, value)
+ cmd = "./sndfile-metadata-set %s \"%s\" output.wav" % (arg, value)
status, output = commands.getstatusoutput (cmd)
if status:
print "\n\nError : command '%s' should not have failed." % cmd
@@ -91,7 +91,7 @@ def test_post_mod (tests):
def test_auto_date ():
print_test_name ("Auto date test")
- cmd = "./sndfile-metadeta-set --auto-time-date sine.wav date-time.wav"
+ cmd = "./sndfile-metadata-set --auto-time-date sine.wav date-time.wav"
status, output = commands.getstatusoutput (cmd)
if status:
print "\n\nError : command '%s' should not have failed." % cmd
@@ -105,7 +105,7 @@ def test_auto_date ():
if os.path.isdir ("examples"):
os.chdir ("examples")
-for f in [ "sndfile-metadeta-set", "sndfile-metadeta-get", "make_sine" ]:
+for f in [ "sndfile-metadata-set", "sndfile-metadata-get", "make_sine" ]:
check_executable (f)
os.system ("./make_sine")