~ubuntu-branches/ubuntu/trusty/rheolef/trusty

« back to all changes in this revision

Viewing changes to util/fdstream/fdstest1.sh

  • Committer: Package Import Robot
  • Author(s): Pierre Saramito
  • Date: 2012-04-06 09:12:21 UTC
  • mfrom: (1.1.5)
  • Revision ID: package-import@ubuntu.com-20120406091221-m58me99p1nxqui49
Tags: 6.0-1
* New upstream release 6.0 (major changes):
  - massively distributed and parallel support
  - full FEM characteristic method (Lagrange-Gakerkin method) support
  - enhanced users documentation 
  - source code supports g++-4.7 (closes: #667356)
* debian/control: dependencies for MPI distributed solvers added
* debian/rules: build commands simplified
* debian/librheolef-dev.install: man1/* to man9/* added
* debian/changelog: package description rewritted (closes: #661689)

Show diffs side-by-side

added added

removed removed

Lines of Context:
20
20
#
21
21
# -------------------------------------------------------------------------
22
22
SRCDIR=${SRCDIR-"."}
23
 
tmp=${TMPDIR-"/tmp"}/rheolef-fdstest1-$$.valid
24
 
cat > $tmp << EOF
25
 
read 20 chars and print them (2 twice due to use of unget())
26
 
abcdefghghijklmnopqr
27
 
EOF
28
 
echo  "      echo abcdefghijklmnopqrst | ./fdstest1"
29
 
echo abcdefghijklmnopqrst | ./fdstest1 | diff $tmp -
 
23
TOP_SRCDIR=${TOP_SRCDIR-"../.."}
 
24
NPROC_MAX=${NPROC_MAX-"8"}
 
25
. "${TOP_SRCDIR}/config/loop_mpirun.sh"
 
26
 
 
27
status=0
 
28
 
 
29
run "echo abcdefghijklmnopqrst | ./fdstest1 | diff $SRCDIR/fdstest1.valid -"
30
30
status=$?
31
 
/bin/rm -f $tmp
 
31
 
32
32
exit $status
33
 
 
34
 
 
35