libubox
C utility functions for OpenWrt.
test_blob_buflen.t
Go to the documentation of this file.
1 check that blob buffer cannot exceed maximum buffer length:
2 
3  $ [ -n "$TEST_BIN_DIR" ] && export PATH="$TEST_BIN_DIR:$PATH"
4 
5  $ valgrind --quiet --leak-check=full test-blob-buflen
6  SUCCESS: failed to allocate attribute
7 
8  $ test-blob-buflen-san
9  SUCCESS: failed to allocate attribute