Skip to content

Commit

Permalink
Update path to sairedis tests (#747)
Browse files Browse the repository at this point in the history
The path to the sairedis test binary (for `setcap`) has changed after
sonic-net/sonic-sairedis#1197. Update the path here.

Signed-off-by: Saikrishna Arcot <[email protected]>
  • Loading branch information
saiarcot895 authored and liushilongbuaa committed Mar 10, 2023
1 parent 8491082 commit 43e6827
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .azure-pipelines/build-sairedis-template.yml
Original file line number Diff line number Diff line change
Expand Up @@ -131,7 +131,7 @@ jobs:
./autogen.sh
DEB_BUILD_OPTIONS=nocheck fakeroot dpkg-buildpackage -b -us -uc -Tbinary-syncd-vs -j$(nproc)
# Add SYS_TIME capability for settimeofday ok in syncd test
sudo setcap "cap_sys_time=eip" syncd/.libs/tests
sudo setcap "cap_sys_time=eip" syncd/.libs/syncd_tests
make check
mv ../*.deb .
displayName: "Compile sonic sairedis"
Expand Down

0 comments on commit 43e6827

Please sign in to comment.