changeset 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 8ff9bce1b56e
children 2fe0f7fe1f86
files ringtools/fc-meltest-pwt
diffstat 1 files changed, 15 insertions(+), 0 deletions(-) [+]
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"'