1#!/bin/sh
2. "${0%/*}/common.sh"
3
4cat >current/file1 <<-EOF
5 1
6 2
7 3
8 4
9EOF
10
11cat >current-expected/file1 <<-EOF
12 3
13 4
14EOF
15
16cat >archive-expected/file1 <<-EOF
17 1
18 2
19EOF
20
21run_test
Iteratively archive newline separated log files
git clone https://git.8pit.net/archive-logs.git
1#!/bin/sh
2. "${0%/*}/common.sh"
3
4cat >current/file1 <<-EOF
5 1
6 2
7 3
8 4
9EOF
10
11cat >current-expected/file1 <<-EOF
12 3
13 4
14EOF
15
16cat >archive-expected/file1 <<-EOF
17 1
18 2
19EOF
20
21run_test