]> git.ipfire.org Git - thirdparty/bind9.git/commitdiff
Rename dig reference files in the rrsetorder test
authorTom Krizek <tkrizek@isc.org>
Thu, 22 Dec 2022 13:26:03 +0000 (14:26 +0100)
committerTom Krizek <tkrizek@isc.org>
Fri, 23 Dec 2022 13:29:44 +0000 (14:29 +0100)
bin/tests/system/rrsetorder/dig.out* files match a gitignore expression
present in bin/tests/system/.gitignore.  Since these are meant to be
reference files that are compared to the files generated when the
"rrsetorder" system test is run, rename them to avoid listing tracked
files in .gitignore files.

(cherry picked from commit c5708044e7a266eef3883a05af69ab348cb1a2c8)

26 files changed:
bin/tests/system/rrsetorder/reference.dig.out.fixed.good [moved from bin/tests/system/rrsetorder/dig.out.fixed.good with 100% similarity]
bin/tests/system/rrsetorder/reference.dig.out.random.good1 [moved from bin/tests/system/rrsetorder/dig.out.random.good1 with 100% similarity]
bin/tests/system/rrsetorder/reference.dig.out.random.good10 [moved from bin/tests/system/rrsetorder/dig.out.random.good10 with 100% similarity]
bin/tests/system/rrsetorder/reference.dig.out.random.good11 [moved from bin/tests/system/rrsetorder/dig.out.random.good11 with 100% similarity]
bin/tests/system/rrsetorder/reference.dig.out.random.good12 [moved from bin/tests/system/rrsetorder/dig.out.random.good12 with 100% similarity]
bin/tests/system/rrsetorder/reference.dig.out.random.good13 [moved from bin/tests/system/rrsetorder/dig.out.random.good13 with 100% similarity]
bin/tests/system/rrsetorder/reference.dig.out.random.good14 [moved from bin/tests/system/rrsetorder/dig.out.random.good14 with 100% similarity]
bin/tests/system/rrsetorder/reference.dig.out.random.good15 [moved from bin/tests/system/rrsetorder/dig.out.random.good15 with 100% similarity]
bin/tests/system/rrsetorder/reference.dig.out.random.good16 [moved from bin/tests/system/rrsetorder/dig.out.random.good16 with 100% similarity]
bin/tests/system/rrsetorder/reference.dig.out.random.good17 [moved from bin/tests/system/rrsetorder/dig.out.random.good17 with 100% similarity]
bin/tests/system/rrsetorder/reference.dig.out.random.good18 [moved from bin/tests/system/rrsetorder/dig.out.random.good18 with 100% similarity]
bin/tests/system/rrsetorder/reference.dig.out.random.good19 [moved from bin/tests/system/rrsetorder/dig.out.random.good19 with 100% similarity]
bin/tests/system/rrsetorder/reference.dig.out.random.good2 [moved from bin/tests/system/rrsetorder/dig.out.random.good2 with 100% similarity]
bin/tests/system/rrsetorder/reference.dig.out.random.good20 [moved from bin/tests/system/rrsetorder/dig.out.random.good20 with 100% similarity]
bin/tests/system/rrsetorder/reference.dig.out.random.good21 [moved from bin/tests/system/rrsetorder/dig.out.random.good21 with 100% similarity]
bin/tests/system/rrsetorder/reference.dig.out.random.good22 [moved from bin/tests/system/rrsetorder/dig.out.random.good22 with 100% similarity]
bin/tests/system/rrsetorder/reference.dig.out.random.good23 [moved from bin/tests/system/rrsetorder/dig.out.random.good23 with 100% similarity]
bin/tests/system/rrsetorder/reference.dig.out.random.good24 [moved from bin/tests/system/rrsetorder/dig.out.random.good24 with 100% similarity]
bin/tests/system/rrsetorder/reference.dig.out.random.good3 [moved from bin/tests/system/rrsetorder/dig.out.random.good3 with 100% similarity]
bin/tests/system/rrsetorder/reference.dig.out.random.good4 [moved from bin/tests/system/rrsetorder/dig.out.random.good4 with 100% similarity]
bin/tests/system/rrsetorder/reference.dig.out.random.good5 [moved from bin/tests/system/rrsetorder/dig.out.random.good5 with 100% similarity]
bin/tests/system/rrsetorder/reference.dig.out.random.good6 [moved from bin/tests/system/rrsetorder/dig.out.random.good6 with 100% similarity]
bin/tests/system/rrsetorder/reference.dig.out.random.good7 [moved from bin/tests/system/rrsetorder/dig.out.random.good7 with 100% similarity]
bin/tests/system/rrsetorder/reference.dig.out.random.good8 [moved from bin/tests/system/rrsetorder/dig.out.random.good8 with 100% similarity]
bin/tests/system/rrsetorder/reference.dig.out.random.good9 [moved from bin/tests/system/rrsetorder/dig.out.random.good9 with 100% similarity]
bin/tests/system/rrsetorder/tests.sh

index c2d94d8bd617f012c1d867fec5104f248028da65..524efd984f7c58b5bd18255a0bd638424dce3c50 100644 (file)
@@ -41,7 +41,7 @@ if $test_fixed; then
     for i in 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16
     do
     dig_cmd @10.53.0.1 fixed.example > dig.out.fixed || ret=1
-    diff dig.out.fixed dig.out.fixed.good >/dev/null || ret=1
+    diff dig.out.fixed reference.dig.out.fixed.good >/dev/null || ret=1
     done
     if [ $ret != 0 ]; then echo_i "failed"; fi
     status=$((status + ret))
@@ -133,7 +133,7 @@ do
     match=0
     for j in $GOOD_RANDOM
     do
-       eval "diff dig.out.random dig.out.random.good$j >/dev/null && match$j=1 match=1"
+       eval "diff dig.out.random reference.dig.out.random.good$j >/dev/null && match$j=1 match=1"
        if [ $match -eq 1 ]; then break; fi
     done
     if [ $match -eq 0 ]; then ret=1; fi
@@ -172,7 +172,7 @@ if $test_fixed; then
     for i in 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16
     do
     dig_cmd @10.53.0.2 fixed.example > dig.out.fixed || ret=1
-    diff dig.out.fixed dig.out.fixed.good || ret=1
+    diff dig.out.fixed reference.dig.out.fixed.good || ret=1
     done
     if [ $ret != 0 ]; then echo_i "failed"; fi
     status=$((status + ret))
@@ -242,7 +242,7 @@ do
     match=0
     for j in $GOOD_RANDOM
     do
-       eval "diff dig.out.random dig.out.random.good$j >/dev/null && match$j=1 match=1"
+       eval "diff dig.out.random reference.dig.out.random.good$j >/dev/null && match$j=1 match=1"
        if [ $match -eq 1 ]; then break; fi
     done
     if [ $match -eq 0 ]; then ret=1; fi
@@ -297,7 +297,7 @@ if $test_fixed; then
     for i in 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16
     do
     dig_cmd @10.53.0.2 fixed.example > dig.out.fixed || ret=1
-    diff dig.out.fixed dig.out.fixed.good || ret=1
+    diff dig.out.fixed reference.dig.out.fixed.good || ret=1
     done
     if [ $ret != 0 ]; then echo_i "failed"; fi
     status=$((status + ret))
@@ -367,7 +367,7 @@ do
     match=0
     for j in $GOOD_RANDOM
     do
-       eval "diff dig.out.random dig.out.random.good$j >/dev/null && match$j=1 match=1"
+       eval "diff dig.out.random reference.dig.out.random.good$j >/dev/null && match$j=1 match=1"
        if [ $match -eq 1 ]; then break; fi
     done
     if [ $match -eq 0 ]; then ret=1; fi
@@ -406,7 +406,7 @@ if $test_fixed; then
     for i in 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16
     do
     dig_cmd @10.53.0.3 fixed.example > dig.out.fixed || ret=1
-    diff dig.out.fixed dig.out.fixed.good || ret=1
+    diff dig.out.fixed reference.dig.out.fixed.good || ret=1
     done
     if [ $ret != 0 ]; then echo_i "failed"; fi
     status=$((status + ret))
@@ -480,7 +480,7 @@ do
     match=0
     for j in $GOOD_RANDOM
     do
-       eval "diff dig.out.random dig.out.random.good$j >/dev/null && match$j=1 match=1"
+       eval "diff dig.out.random reference.dig.out.random.good$j >/dev/null && match$j=1 match=1"
        if [ $match -eq 1 ]; then break; fi
     done
     if [ $match -eq 0 ]; then ret=1; fi
@@ -522,7 +522,7 @@ do
     match=0
     for j in $GOOD_RANDOM
     do
-       eval "diff dig.out.random dig.out.random.good$j >/dev/null && match$j=1 match=1"
+       eval "diff dig.out.random reference.dig.out.random.good$j >/dev/null && match$j=1 match=1"
        if [ $match -eq 1 ]; then break; fi
     done
     if [ $match -eq 0 ]; then ret=1; fi