File: httpfstest.bash

package info (click to toggle)
mumax3 3.11.1-1
  • links: PTS, VCS
  • area: contrib
  • in suites: forky, sid
  • size: 10,668 kB
  • sloc: makefile: 194; ansic: 155; sh: 86; javascript: 16
file content (12 lines) | stat: -rwxr-xr-x 258 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
#! /bin/bash 

rm -rf *.out http\:
killall mumax3-httpfsd
mumax3-httpfsd -l :35377 &
sleep 1s
mumax3 $(for f in *.mx3; do echo -n ' ' http://localhost:35377/$f; done) || exit 1
killall mumax3-httpfsd
if [ -e http\: ]; then
		echo "http:" exists
		exit 2
fi;