diff options
-rwxr-xr-x | tests.sh | 5 | ||||
-rw-r--r-- | tests/test_0069.out | 32 | ||||
-rw-r--r-- | tests/test_0070.out | 32 | ||||
-rw-r--r-- | tests/test_0072.out | 14 |
4 files changed, 43 insertions, 40 deletions
@@ -96,7 +96,10 @@ if [ "$1" == "update" ]; then fi function bfs_sort() { - LC_ALL=C awk -F/ '{ print NF - 1 " " $0 }' | sort -n | awk '{ print $2 }' + ( + export LC_ALL=C + awk -F/ '{ print NF - 1 " " $0 }' | sort -n | awk '{ print $2 }' + ) } function bfs_diff() { diff --git a/tests/test_0069.out b/tests/test_0069.out index d06572a..73d0ff3 100644 --- a/tests/test_0069.out +++ b/tests/test_0069.out @@ -1,28 +1,28 @@ -- -- -, -, !- !- (- (- ) ) -./! -./! -./( -./( --/a --/a -(-/c -(-/c +, +, +- +- !-/e !-/e -,/f -,/f +(-/c +(-/c )/g )/g -./(/b -./(/b +,/f +,/f +-/a +-/a +./! +./! +./( +./( ./!/d ./!/d +./(/b +./(/b diff --git a/tests/test_0070.out b/tests/test_0070.out index d06572a..73d0ff3 100644 --- a/tests/test_0070.out +++ b/tests/test_0070.out @@ -1,28 +1,28 @@ -- -- -, -, !- !- (- (- ) ) -./! -./! -./( -./( --/a --/a -(-/c -(-/c +, +, +- +- !-/e !-/e -,/f -,/f +(-/c +(-/c )/g )/g -./(/b -./(/b +,/f +,/f +-/a +-/a +./! +./! +./( +./( ./!/d ./!/d +./(/b +./(/b diff --git a/tests/test_0072.out b/tests/test_0072.out index bbe4f7f..d4fb943 100644 --- a/tests/test_0072.out +++ b/tests/test_0072.out @@ -1,15 +1,15 @@ . -./- -./, ./! ./!- ./( ./(- ./) -./-/a -./(/b -./(-/c -./!/d +./, +./- ./!-/e -./,/f +./!/d +./(-/c +./(/b ./)/g +./,/f +./-/a |