Merge pull request #48796 from Ch3LL/remove_su

Remove fake su used in integration tests
This commit is contained in:
Nicole Thomas 2018-07-31 13:08:53 -04:00 committed by GitHub
commit 2bacc23481
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1,12 +0,0 @@
#!/bin/bash
# "Fake" su command
#
# Just executes the command without changing effective uid. Used in integration
# tests.
while true; do
shift
test "x$1" == "x-c" && break
test "x$1" == "x" && break
done
shift
exec /bin/bash -c "$@"