make check
./test/functional/test_runner.py
`./src/bitcoind -uacomment=tara:tata`, check it returns an error message
at startup and fails to start
`bitcoin-qt -uacomment=tara:tata`, check it displays an error message in
a popup then exits when the OK button is clicked
`bitcoin-qt -uacomment=tara:tata`, go to the debug window and check the
user agent matches `/Bitcoin ABC:0.18.6(EB32.0; taratata)/`
```
./src/bitcoind -uacomment=taratata
./src/bticoin-cli getnetworkinfo
```
Check the "subversion" field matches `/Bitcoin ABC:0.18.6(EB32.0;
taratata)/`
```
echo "uacomment=taratata" > uacomment.conf
./src/bitcoind -conf=$PWD/uacomment.conf
./src/bticoin-cli getnetworkinfo
```
Check the "subversion" field matches `/Bitcoin ABC:0.18.6(EB32.0;
taratata)/`
```
echo "uacomment=tara:tata" > uacomment.conf
./src/bitcoind -conf=$PWD/uacomment.conf
```
Check it returns an error message at startup and fails to start, then
`rm uacomment.conf`