Skip to content

Commit

Permalink
e2e: Use cat instead of more to read files
Browse files Browse the repository at this point in the history
Signed-off-by: Andrea Panattoni <[email protected]>
  • Loading branch information
zeeke committed Dec 10, 2024
1 parent c621f29 commit 7f8eff4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/conformance/tests/test_sriov_operator.go
Original file line number Diff line number Diff line change
Expand Up @@ -937,7 +937,7 @@ var _ = Describe("[sriov] operator", func() {
waitForNetAttachDef(sriovNetworkName, namespaces.Test)

testPod := createTestPod(node, []string{sriovNetworkName})
stdout, _, err := pod.ExecCommand(clients, testPod, "more", "/proc/sys/net/ipv4/conf/net1/accept_redirects")
stdout, _, err := pod.ExecCommand(clients, testPod, "cat", "/proc/sys/net/ipv4/conf/net1/accept_redirects")
Expect(err).ToNot(HaveOccurred())

Expect(strings.TrimSpace(stdout)).To(Equal("1"))
Expand Down

0 comments on commit 7f8eff4

Please sign in to comment.