From ec66213424e671c70d1d8dd3675b85ae24d10e5f Mon Sep 17 00:00:00 2001 From: Elliott Hughes Date: Wed, 2 May 2018 22:32:07 -0700 Subject: Add uuidgen. Reuse create_uuid, but make it match the current RFC. --- tests/uuidgen.test | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100755 tests/uuidgen.test (limited to 'tests') diff --git a/tests/uuidgen.test b/tests/uuidgen.test new file mode 100755 index 00000000..2042a4b9 --- /dev/null +++ b/tests/uuidgen.test @@ -0,0 +1,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" "" "" -- cgit v1.2.3