From 5ef696da405d72a68d0996a7c4662f689accee82 Mon Sep 17 00:00:00 2001 From: Tavian Barnes Date: Mon, 5 Dec 2016 07:59:14 -0500 Subject: tests: Don't check -links for directories --- tests.sh | 6 +++--- tests/test_0024.out | 1 - tests/test_0025.out | 4 ---- tests/test_0026.out | 4 ---- 4 files changed, 3 insertions(+), 12 deletions(-) diff --git a/tests.sh b/tests.sh index 54371fd..9a9a38f 100755 --- a/tests.sh +++ b/tests.sh @@ -209,15 +209,15 @@ function test_0023() { } function test_0024() { - bfs_diff links -links 2 + bfs_diff links -type f -links 2 } function test_0025() { - bfs_diff links -links -2 + bfs_diff links -type f -links -2 } function test_0026() { - bfs_diff links -links +1 + bfs_diff links -type f -links +1 } function test_0027() { diff --git a/tests/test_0024.out b/tests/test_0024.out index a3dcbb2..892c879 100644 --- a/tests/test_0024.out +++ b/tests/test_0024.out @@ -1,3 +1,2 @@ links/a links/c -links/d/e/f diff --git a/tests/test_0025.out b/tests/test_0025.out index 092fe54..e69de29 100644 --- a/tests/test_0025.out +++ b/tests/test_0025.out @@ -1,4 +0,0 @@ -links/b -links/h -links/d/e/g -links/d/e/i diff --git a/tests/test_0026.out b/tests/test_0026.out index 1f94970..892c879 100644 --- a/tests/test_0026.out +++ b/tests/test_0026.out @@ -1,6 +1,2 @@ -links links/a links/c -links/d -links/d/e -links/d/e/f -- cgit v1.2.3