~ubuntu-branches/ubuntu/vivid/cctools/vivid

« back to all changes in this revision

Viewing changes to makeflow/test/TR_020_syntax_typo.sh

  • Committer: Bazaar Package Importer
  • Author(s): Michael Hanke
  • Date: 2011-05-07 09:05:00 UTC
  • Revision ID: james.westby@ubuntu.com-20110507090500-lqpmdtwndor6e7os
Tags: upstream-3.3.2
ImportĀ upstreamĀ versionĀ 3.3.2

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
#!/bin/sh
 
2
 
 
3
. ../../dttools/src/test_runner.common.sh
 
4
 
 
5
prepare()
 
6
{
 
7
    clean $@
 
8
}
 
9
 
 
10
run()
 
11
{
 
12
    cd syntax; 
 
13
 
 
14
    if ! ../../src/makeflow -k typo.makeflow 
 
15
    then
 
16
        exit 1
 
17
    fi
 
18
 
 
19
    if ../../src/makeflow typo.makeflow
 
20
    then
 
21
        exit 1
 
22
    else
 
23
        exit 0
 
24
    fi
 
25
}
 
26
 
 
27
clean()
 
28
{
 
29
    cd syntax; ../../src/makeflow -c typo.makeflow && exit 0
 
30
    exit 1
 
31
}
 
32
 
 
33
dispatch $@