logo

utils

~/.local/bin tools and git-hooks git clone https://hacktivis.me/git/utils.git
commit: c6545684641b836a92aefc83c2e712ad6fb88e6e
parent b2e3ac9522cdd49c6a617c689505b431d3198039
Author: Haelwenn (lanodan) Monnier <contact@hacktivis.me>
Date:   Sun, 30 Jan 2022 01:20:08 +0100

test-bin: deduplicate fixtures

Diffstat:

Mtest-bin/cat6+++---
Dtest-bin/inputs/cat/all_bytes0
Dtest-bin/inputs/cat/dev_null2--
Dtest-bin/inputs/xcd/dev_null2--
4 files changed, 3 insertions(+), 7 deletions(-)

diff --git a/test-bin/cat b/test-bin/cat @@ -1,17 +1,17 @@ #!/usr/bin/env atf-sh atf_test_case allfile allfile_body() { - atf_check -o file:inputs/cat/all_bytes ../bin/cat inputs/cat/all_bytes + atf_check -o file:inputs/all_bytes ../bin/cat inputs/all_bytes } atf_test_case allinput allinput_body() { - atf_check -o file:inputs/cat/all_bytes ../bin/cat <inputs/cat/all_bytes + atf_check -o file:inputs/all_bytes ../bin/cat <inputs/all_bytes } atf_test_case alldashinput alldashinput_body() { - atf_check -o file:inputs/cat/all_bytes ../bin/cat - <inputs/cat/all_bytes + atf_check -o file:inputs/all_bytes ../bin/cat - <inputs/all_bytes } atf_test_case nullfile diff --git a/test-bin/inputs/cat/all_bytes b/test-bin/inputs/cat/all_bytes Binary files differ. diff --git a/test-bin/inputs/cat/dev_null b/test-bin/inputs/cat/dev_null @@ -1 +0,0 @@ -/dev/null -\ No newline at end of file diff --git a/test-bin/inputs/xcd/dev_null b/test-bin/inputs/xcd/dev_null @@ -1 +0,0 @@ -/dev/null -\ No newline at end of file