Debian Codegraph @

tests/018_testcxx.sh

raw symbols SCIP
1 #!/bin/bashscip-shell filesystem . . `/bin/bash`.
2 # test the case with C++ source
3 set -ex
4
5 TESTDIR=$(mktempscip-shell system . . mktemp. -d )
6 (
7 set -ex
8 cd ${TESTDIR}
9 mkdirscip-shell system . . mkdir. 1/
10 touchscip-shell system . . touch. 1/a 1/b 1/c 1/d
11 ddscip-shell system . . dd. if=/dev/zeroscip-shell filesystem . . `/dev/zero`. of=1/e bs=512 count=2
12 cpscip-shell system . . cp. -al 1 0
13 cow-shell 018_testcxx
14 catscip-shell system . . cat. 1/a
15 catscip-shell system . . cat. 0/a
16 ! diffscip-shell system . . diff. -u 1/a 0/a
17 )
18 RESULT=$?
19
20 rmscip-shell system . . rm. -rf ${TESTDIR}
21
22 exit $RESULT