aboutsummaryrefslogtreecommitdiff
path: root/tests/uuidgen.test
blob: 2042a4b9c7683d60e551d61ba115fab26e8e6871 (plain)
1
2
3
4
5
6
7
#!/bin/bash

[ -f testing.sh ] && . testing.sh

#testing "name" "command" "result" "infile" "stdin"

testing "smoke" "uuidgen | grep -Eq '[0-9a-f]{8}-[0-9a-f]{4}-4[0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}' && echo okay" "okay\n" "" ""