File: errors.sh

package info (click to toggle)
ctioga2 0.14.1-2
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, bullseye, buster, sid
  • size: 1,524 kB
  • sloc: ruby: 17,592; sh: 720; lisp: 88; makefile: 27
file content (24 lines) | stat: -rwxr-xr-x 613 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
# errors.sh: various error conditions that should not be too harsh (ie no crash)
# Copyright 2014 by Vincent Fourmond
# 
# You can do whatever you want with this file, including removing the
# copyright notice and this text.

. ./test-include.sh

$ct -x '$x$ values in % of stuff' 'sin(x)' -y '$y$ values' 

$ct -x '$x$ values in % of stuff' 'sin(x)' -y '$y$ values' 

# This should not crash hard
$ct -t "Error" '0.0/0.0'

# Grid specification out of grid, should not cause a backtrace
$ct --setup-grid 2x1 --inset grid:2,2 'sin(x)'


# Parsing errors
for f in command-files/errors/*.ct2; do
    $ct -f $f
done