projects
/
project
/
libubox.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
4f8809feb7e3ab0bd85d0ade85153830b93df54d
[project/libubox.git]
/
tests
/
cram
/
test_base64.t
1
set test bin path:
2
3
$ [ -n "$TEST_BIN_DIR" ] && export PATH="$TEST_BIN_DIR:$PATH"
4
5
check that base64 is producing expected results:
6
7
$ valgrind --quiet --leak-check=full test-b64
8
0
9
4 Zg==
10
4 Zm8=
11
4 Zm9v
12
8 Zm9vYg==
13
8 Zm9vYmE=
14
8 Zm9vYmFy
15
0
16
1 f
17
2 fo
18
3 foo
19
4 foob
20
5 fooba
21
6 foobar