Change uuencode test to match what other uuencode implementations actually produce.
authorRob Landley <rob@landley.net>
Fri, 29 Mar 2013 00:28:27 +0000 (19:28 -0500)
committerRob Landley <rob@landley.net>
Fri, 29 Mar 2013 00:28:27 +0000 (19:28 -0500)
scripts/test/uuencode.test

index ffe26af..7c19faa 100644 (file)
@@ -7,13 +7,13 @@
 testing "uuencode not enough args [fail]" "uuencode 2>/dev/null" "" "" ""
 
 testing "uuencode uu empty file" "uuencode test" \
-       "begin 744 test\n\`\nend\n" "" "" 
+       "begin 744 test\nend\n" "" "" 
 testing "uuencode uu 1-char" "uuencode test" \
-       "begin 744 test\n!80  \n\`\nend\n" "" "a" 
+       "begin 744 test\n!80\`\`\nend\n" "" "a" 
 testing "uuencode uu 2-char" "uuencode test" \
-       "begin 744 test\n\"86( \n\`\nend\n" "" "ab" 
+       "begin 744 test\n\"86(\`\nend\n" "" "ab" 
 testing "uuencode uu 3-char" "uuencode test" \
-       "begin 744 test\n#86)C\n\`\nend\n" "" "abc" 
+       "begin 744 test\n#86)C\nend\n" "" "abc" 
 
 testing "uuencode b64 empty file" "uuencode -m test" \
        "begin-base64 744 test\n====\n" "" ""