openshift/crankcase — pull request #604 by Miciah (2012-10-05 19:17:58+00:00)
Title: [test] Sanity check CLOUD_USER value

The StickShift::UnixUser class interpolates the value of CLOUD_USER in
/etc/stickshift/stickshift-node.conf into the name of a shell
environment variable. Therefore, if CLOUD_USER contains symbols that
may not appear in a shell variable name, we will get mysterious errors.

This patch adds a check in the initializer for StickShift::UnixUser to
verify that CLOUD_USER contains only valid symbols.