From 62de5e2bc9a39b189a84ff0691efeb8518f1688a Mon Sep 17 00:00:00 2001 From: Tavian Barnes Date: Thu, 20 Oct 2022 15:35:44 -0400 Subject: tests: Always clean scratch before using it --- tests/common/L_ls.sh | 1 + tests/common/ls.sh | 1 + tests/gnu/files0_from_file.sh | 1 + tests/gnu/fls.sh | 1 + 4 files changed, 4 insertions(+) diff --git a/tests/common/L_ls.sh b/tests/common/L_ls.sh index d886791..ced16c6 100644 --- a/tests/common/L_ls.sh +++ b/tests/common/L_ls.sh @@ -1 +1,2 @@ +clean_scratch invoke_bfs -L rainbow -ls >scratch/L_ls.out diff --git a/tests/common/ls.sh b/tests/common/ls.sh index b49a2d5..85ca39c 100644 --- a/tests/common/ls.sh +++ b/tests/common/ls.sh @@ -1 +1,2 @@ +clean_scratch invoke_bfs rainbow -ls >scratch/ls.out diff --git a/tests/gnu/files0_from_file.sh b/tests/gnu/files0_from_file.sh index 7563149..089a20e 100644 --- a/tests/gnu/files0_from_file.sh +++ b/tests/gnu/files0_from_file.sh @@ -1,3 +1,4 @@ +clean_scratch cd weirdnames invoke_bfs -mindepth 1 -fprintf ../scratch/files0.in "%P\0" bfs_diff -files0-from ../scratch/files0.in diff --git a/tests/gnu/fls.sh b/tests/gnu/fls.sh index 94e2c16..a86fa20 100644 --- a/tests/gnu/fls.sh +++ b/tests/gnu/fls.sh @@ -1 +1,2 @@ +clean_scratch invoke_bfs rainbow -fls scratch/fls.out -- cgit v1.2.3