diff ringtools/fc-meltest-pwt @ 876:9998c015a687

ringtools/fc-meltest-pwt: shell script created, works as expected
author Mychaela Falconia <falcon@freecalypso.org>
date Wed, 30 Mar 2022 20:11:34 +0000
parents
children 5b68ba735e98
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/ringtools/fc-meltest-pwt	Wed Mar 30 20:11:34 2022 +0000
@@ -0,0 +1,15 @@
+#!/bin/sh
+
+if [ $# != 1 ]
+then
+	echo "usage: $0 pwt_melody_file" 1>&2
+	exit 1
+fi
+
+tmpfile=/tmp/fc-test-melody.bz
+
+set -ex
+
+fc-pwt-comp "$1" $tmpfile
+fc-fsio upload-file $tmpfile /buz/test.bz
+fc-shell 'at@buz="/buz/test.bz"'