]> arthur.barton.de Git - bup.git/commit - t/test-meta.sh
Remove lib.sh actually-root in favor of t/root-status.
authorRob Browning <rlb@defaultvalue.org>
Sun, 26 May 2013 17:16:40 +0000 (12:16 -0500)
committerRob Browning <rlb@defaultvalue.org>
Mon, 27 May 2013 17:28:51 +0000 (12:28 -0500)
commit51967eaf5ac36ec5f8378810fc23293201e50124
treea55ab03ee66f84f4f6304504ecc9df3395718062
parent92ff977ab2cfd22425240acf961f6ef332dc7f27
Remove lib.sh actually-root in favor of t/root-status.

Create a t/root-status command that outputs root, fake, or none and
that uses the same cross-platform logic as helpers.py is_superuser().
Use it everywhere.

Signed-off-by: Rob Browning <rlb@defaultvalue.org>
t/lib.sh
t/root-status [new file with mode: 0755]
t/test-index-check-device.sh
t/test-meta.sh