From 0855ae0066cb82d9deaac35ab5221dab851f8aaa Mon Sep 17 00:00:00 2001 From: Igor Gnatenko Date: Sat, 21 Jul 2018 11:58:15 +0200 Subject: [PATCH] cargo-test: do not use sudo Signed-off-by: Igor Gnatenko --- cargo-test/runtest.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cargo-test/runtest.sh b/cargo-test/runtest.sh index bf72932..a648019 100755 --- a/cargo-test/runtest.sh +++ b/cargo-test/runtest.sh @@ -20,7 +20,7 @@ crate_toml="$crate_dir/Cargo.toml" # XXX: ideally we should just install -tests subpackage # which would require all necessary deps $(rpm --eval "%{__cargo_inspector}") --test-requires "$crate_toml" | \ - sed -r -e "s/(.*)/'\1'/" | xargs -r sudo dnf -y install + sed -r -e "s/(.*)/'\1'/" | xargs -r dnf -y install # XXX: sed is needed due to https://github.com/rpm-software-management/rpm/issues/472 rpm -D "_with_check 1" --eval "%cargo_prep" | \