]> granicus.if.org Git - pgbadger/commitdiff
Fix test with binary format. Binary file must be generated as it is dependent of...
authorGilles Darold <gilles@darold.net>
Sat, 1 Sep 2018 08:39:00 +0000 (10:39 +0200)
committerGilles Darold <gilles@darold.net>
Sat, 1 Sep 2018 08:39:00 +0000 (10:39 +0200)
t/basics.t
t/fixtures/light.postgres.bin [deleted file]

index adc95f4f229d335d72bae085a2e5f5a5a8a71c48..196dd32df804f39e9cda08df3806fadfe74d576d 100755 (executable)
     ! test -f out.html
 }
 
+@test "Light log to binary" {
+    ./pgbadger -o t/fixtures/light.postgres.bin t/fixtures/light.postgres.log.bz2
+}
+
 @test "From binary to JSON" {
     ./pgbadger --outdir $BATS_TMPDIR -o test-out.json \
                --format binary t/fixtures/light.postgres.bin
diff --git a/t/fixtures/light.postgres.bin b/t/fixtures/light.postgres.bin
deleted file mode 100644 (file)
index 17f19ee..0000000
Binary files a/t/fixtures/light.postgres.bin and /dev/null differ