From 63141268e06f898b6e6fbf8339949fb0b84b48df Mon Sep 17 00:00:00 2001 From: Lukas Fleischer Date: Tue, 8 Jul 2014 15:46:34 +0200 Subject: test/: Remove temporary errors file in tests Signed-off-by: Lukas Fleischer --- test/appointment-008.sh | 1 + test/appointment-009.sh | 1 + test/appointment-010.sh | 1 + test/appointment-011.sh | 1 + test/appointment-012.sh | 1 + test/appointment-013.sh | 1 + test/appointment-014.sh | 1 + test/appointment-015.sh | 1 + test/appointment-016.sh | 1 + test/appointment-017.sh | 1 + test/appointment-018.sh | 1 + test/appointment-019.sh | 1 + test/appointment-020.sh | 1 + test/appointment-021.sh | 1 + test/appointment-022.sh | 1 + test/event-002.sh | 1 + test/event-003.sh | 1 + test/event-004.sh | 1 + test/event-005.sh | 1 + test/event-006.sh | 1 + 20 files changed, 20 insertions(+) (limited to 'test') diff --git a/test/appointment-008.sh b/test/appointment-008.sh index 43e7d5b..03dae01 100755 --- a/test/appointment-008.sh +++ b/test/appointment-008.sh @@ -5,3 +5,4 @@ "$CALCURSE" --read-only -D "$DATA_DIR"/ -c "$DATA_DIR/apts-appointment-008" \ -d02/23/2013 2>errors && exit 1 grep -Fq 'syntax error in the item date' errors +rm -f errors diff --git a/test/appointment-009.sh b/test/appointment-009.sh index 3151af2..bf6a9e8 100755 --- a/test/appointment-009.sh +++ b/test/appointment-009.sh @@ -5,3 +5,4 @@ "$CALCURSE" --read-only -D "$DATA_DIR"/ -c "$DATA_DIR/apts-appointment-009" \ -d02/23/2013 2>errors && exit 1 grep -Fq 'date error in appointment' errors +rm -f errors diff --git a/test/appointment-010.sh b/test/appointment-010.sh index 9d0e3d3..020d18a 100755 --- a/test/appointment-010.sh +++ b/test/appointment-010.sh @@ -5,3 +5,4 @@ "$CALCURSE" --read-only -D "$DATA_DIR"/ -c "$DATA_DIR/apts-appointment-010" \ -d02/23/2013 2>errors && exit 1 grep -Fq 'no event nor appointment found' errors +rm -f errors diff --git a/test/appointment-011.sh b/test/appointment-011.sh index 3e3cda3..9931bb1 100755 --- a/test/appointment-011.sh +++ b/test/appointment-011.sh @@ -5,3 +5,4 @@ "$CALCURSE" --read-only -D "$DATA_DIR"/ -c "$DATA_DIR/apts-appointment-011" \ -d02/23/2013 2>errors && exit 1 grep -Fq 'syntax error in item time or duration' errors +rm -f errors diff --git a/test/appointment-012.sh b/test/appointment-012.sh index d581c18..e1d8b99 100755 --- a/test/appointment-012.sh +++ b/test/appointment-012.sh @@ -5,3 +5,4 @@ "$CALCURSE" --read-only -D "$DATA_DIR"/ -c "$DATA_DIR/apts-appointment-012" \ -d02/23/2013 2>errors && exit 1 grep -Fq 'date error in appointment' errors +rm -f errors diff --git a/test/appointment-013.sh b/test/appointment-013.sh index 670f57d..b039fcc 100755 --- a/test/appointment-013.sh +++ b/test/appointment-013.sh @@ -5,3 +5,4 @@ "$CALCURSE" --read-only -D "$DATA_DIR"/ -c "$DATA_DIR/apts-appointment-013" \ -d02/23/2013 2>errors && exit 1 grep -Fq 'syntax error in item time or duration' errors +rm -f errors diff --git a/test/appointment-014.sh b/test/appointment-014.sh index 6365933..3072dfc 100755 --- a/test/appointment-014.sh +++ b/test/appointment-014.sh @@ -5,3 +5,4 @@ "$CALCURSE" --read-only -D "$DATA_DIR"/ -c "$DATA_DIR/apts-appointment-014" \ -d02/23/2013 2>errors && exit 1 grep -Fq 'syntax error in item time or duration' errors +rm -f errors diff --git a/test/appointment-015.sh b/test/appointment-015.sh index 632db25..93d70f0 100755 --- a/test/appointment-015.sh +++ b/test/appointment-015.sh @@ -5,3 +5,4 @@ "$CALCURSE" --read-only -D "$DATA_DIR"/ -c "$DATA_DIR/apts-appointment-015" \ -d02/23/2013 2>errors && exit 1 grep -Fq 'syntax error in item time or duration' errors +rm -f errors diff --git a/test/appointment-016.sh b/test/appointment-016.sh index 5a2e3e5..c477c5e 100755 --- a/test/appointment-016.sh +++ b/test/appointment-016.sh @@ -5,3 +5,4 @@ "$CALCURSE" --read-only -D "$DATA_DIR"/ -c "$DATA_DIR/apts-appointment-016" \ -d02/23/2013 2>errors && exit 1 grep -Fq 'date error in appointment' errors +rm -f errors diff --git a/test/appointment-017.sh b/test/appointment-017.sh index cf751dc..82ac4de 100755 --- a/test/appointment-017.sh +++ b/test/appointment-017.sh @@ -5,3 +5,4 @@ "$CALCURSE" --read-only -D "$DATA_DIR"/ -c "$DATA_DIR/apts-appointment-017" \ -d02/23/2013 2>errors && exit 1 grep -Fq 'syntax error in item time or duration' errors +rm -f errors diff --git a/test/appointment-018.sh b/test/appointment-018.sh index 0cfe387..17338f7 100755 --- a/test/appointment-018.sh +++ b/test/appointment-018.sh @@ -5,3 +5,4 @@ "$CALCURSE" --read-only -D "$DATA_DIR"/ -c "$DATA_DIR/apts-appointment-018" \ -d02/23/2013 2>errors && exit 1 grep -Fq 'syntax error in item time or duration' errors +rm -f errors diff --git a/test/appointment-019.sh b/test/appointment-019.sh index 92b715a..7eacffa 100755 --- a/test/appointment-019.sh +++ b/test/appointment-019.sh @@ -5,3 +5,4 @@ "$CALCURSE" --read-only -D "$DATA_DIR"/ -c "$DATA_DIR/apts-appointment-019" \ -d02/23/2013 2>errors && exit 1 grep -Fq 'date error in appointment' errors +rm -f errors diff --git a/test/appointment-020.sh b/test/appointment-020.sh index 1d99950..a7a995e 100755 --- a/test/appointment-020.sh +++ b/test/appointment-020.sh @@ -5,3 +5,4 @@ "$CALCURSE" --read-only -D "$DATA_DIR"/ -c "$DATA_DIR/apts-appointment-020" \ -d02/23/2013 2>errors && exit 1 grep -Fq 'syntax error in item repetition' errors +rm -f errors diff --git a/test/appointment-021.sh b/test/appointment-021.sh index 67c7ae0..1642fde 100755 --- a/test/appointment-021.sh +++ b/test/appointment-021.sh @@ -5,3 +5,4 @@ "$CALCURSE" --read-only -D "$DATA_DIR"/ -c "$DATA_DIR/apts-appointment-021" \ -d02/23/2013 2>errors && exit 1 grep -Fq 'date error in appointment' errors +rm -f errors diff --git a/test/appointment-022.sh b/test/appointment-022.sh index 1b48a1e..1a262d2 100755 --- a/test/appointment-022.sh +++ b/test/appointment-022.sh @@ -5,3 +5,4 @@ "$CALCURSE" --read-only -D "$DATA_DIR"/ -c "$DATA_DIR/apts-appointment-022" \ -d02/23/2013 2>errors && exit 1 grep -Fq 'date error in appointment' errors +rm -f errors diff --git a/test/event-002.sh b/test/event-002.sh index 728544c..5a1f451 100755 --- a/test/event-002.sh +++ b/test/event-002.sh @@ -5,3 +5,4 @@ "$CALCURSE" --read-only -D "$DATA_DIR"/ -c "$DATA_DIR/apts-event-002" \ -d02/23/2013 2>errors && exit 1 grep -Fq 'syntax error in the item date' errors +rm -f errors diff --git a/test/event-003.sh b/test/event-003.sh index 46f1215..d648e15 100755 --- a/test/event-003.sh +++ b/test/event-003.sh @@ -5,3 +5,4 @@ "$CALCURSE" --read-only -D "$DATA_DIR"/ -c "$DATA_DIR/apts-event-003" \ -d02/23/2013 2>errors && exit 1 grep -Fq 'date error in event' errors +rm -f errors diff --git a/test/event-004.sh b/test/event-004.sh index f3180c2..869c6c2 100755 --- a/test/event-004.sh +++ b/test/event-004.sh @@ -5,3 +5,4 @@ "$CALCURSE" --read-only -D "$DATA_DIR"/ -c "$DATA_DIR/apts-event-004" \ -d02/23/2013 2>errors && exit 1 grep -Fq 'no event nor appointment found' errors +rm -f errors diff --git a/test/event-005.sh b/test/event-005.sh index 7320736..84a884b 100755 --- a/test/event-005.sh +++ b/test/event-005.sh @@ -5,3 +5,4 @@ "$CALCURSE" --read-only -D "$DATA_DIR"/ -c "$DATA_DIR/apts-event-005" \ -d02/23/2013 2>errors && exit 1 grep -Fq 'syntax error in item identifier' errors +rm -f errors diff --git a/test/event-006.sh b/test/event-006.sh index 0968915..633094b 100755 --- a/test/event-006.sh +++ b/test/event-006.sh @@ -5,3 +5,4 @@ "$CALCURSE" --read-only -D "$DATA_DIR"/ -c "$DATA_DIR/apts-event-006" \ -d02/23/2013 2>errors && exit 1 grep -Fq 'syntax error in item identifier' errors +rm -f errors -- cgit v1.2.3-54-g00ecf